結果 : java check if string contains only allowed characters