public class URLConverter extends java.lang.Object implements TypeConverter<java.net.URL>
URL.
Conversion rules:
null value is returned as nullFile is convertedURI is convertedString representation is used for creating URL| Constructor and Description |
|---|
URLConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
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, waitconvertpublic java.net.URL convert(java.lang.Object value)
TypeConverterInteger 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.URL>value - object to convert fromCopyright © 2003-present Jodd Team