@Test public void isNotLocation() { Assert.assertFalse( StringToLocationConverter.isLocation( "[-10.91;+67.124]" ) ); }
public static boolean isLocation( @Nullable String source ) { return (source == null) || LOCATION_PATTERN.matcher( source ).matches(); }
StringToLocationConverter extends TypedConverter<String, Location> { public static boolean isLocation( @Nullable String source ) { return (source == null) || LOCATION_PATTERN.matcher( source ).matches(); } }
StringToLocationConverter extends TypedConverter<String, Location> { public static boolean isLocation( @Nullable String source ) { return (source == null) || LOCATION_PATTERN.matcher( source ).matches(); } StringToLocationConverter(); }
StringToLocationConverter extends TypedConverter<String, Location> { public static boolean isLocation( @Nullable String source ) { return (source == null) || LOCATION_PATTERN.matcher( source ).matches(); } StringToLocationConverter(); @Nullable @Override Location doConvert( @Nonnull String source ); static boolean isLocation( @Nullable String source ); }
StringToLocationConverter extends TypedConverter<String, Location> { public static boolean isLocation( @Nullable String source ) { return (source == null) || LOCATION_PATTERN.matcher( source ).matches(); } StringToLocationConverter(); @Nullable @Override Location doConvert( @Nonnull String source ); static boolean isLocation( @Nullable String source );  }