public class URIConverter extends java.lang.Object implements TypeConverter<java.net.URI>
URI
.
Conversion rules:
null
value is returned as null
File
is convertedURL
is convertedString
representation is used for creating URIConstructor and Description |
---|
URIConverter() |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
convert(java.lang.Object value)
Converts object received as parameter into object of another class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert
public java.net.URI convert(java.lang.Object value)
TypeConverter
Integer
converter tries to convert given objects
into target Integer
object. Converters should try all reasonable
ways of conversion into target object, depending on target type.convert
in interface TypeConverter<java.net.URI>
value
- object to convert fromCopyright © 2003-present Jodd Team