Class StringConverter.URI
java.lang.Object
org.apache.sis.internal.converter.ClassPair<String,URI>
org.apache.sis.internal.converter.SystemConverter<String,URI>
org.apache.sis.internal.converter.StringConverter<URI>
org.apache.sis.internal.converter.StringConverter.URI
- All Implemented Interfaces:
Serializable
,Function<String,
,URI> ObjectConverter<String,
URI>
- Enclosing class:
StringConverter<T>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.converter.StringConverter
StringConverter.Angle, StringConverter.BigDecimal, StringConverter.BigInteger, StringConverter.Boolean, StringConverter.Byte, StringConverter.Charset, StringConverter.CodeList<T extends org.opengis.util.CodeList<T>>, StringConverter.Double, StringConverter.Enum<T extends Enum<T>>, StringConverter.File, StringConverter.Float, StringConverter.Integer, StringConverter.InternationalString, StringConverter.Locale, StringConverter.Long, StringConverter.Number, StringConverter.Path, StringConverter.Short, StringConverter.Unit, StringConverter.URI, StringConverter.URL
-
Field Summary
FieldsFields inherited from class org.apache.sis.internal.converter.ClassPair
sourceClass, targetClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) URI
Invoked byStringConverter.apply(String)
for converting the given string to the target type of this converter.Methods inherited from class org.apache.sis.internal.converter.StringConverter
apply, createInverse, inverse, properties
Methods inherited from class org.apache.sis.internal.converter.SystemConverter
bijective, equals, formatErrorMessage, getSourceClass, getTargetClass, readResolve, unique
Methods inherited from class org.apache.sis.internal.converter.ClassPair
cast, hashCode, parentSource, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
URI
public URI()
-
-
Method Details
-
doConvert
Description copied from class:StringConverter
Invoked byStringConverter.apply(String)
for converting the given string to the target type of this converter.- Specified by:
doConvert
in classStringConverter<URI>
- Parameters:
source
- the string to convert, guaranteed to be non-null and non-empty.- Returns:
- the converted value.
- Throws:
URISyntaxException
-