java check string contains multiple substring