| Constructor and Description |
|---|
URLConverter() |
| Modifier and Type | Method and Description |
|---|---|
URL |
convertToMapped(Class<? extends URL> type,
String value)
Convert the persisted type B to the mapped type A.
|
String |
convertToPersisted(URL value)
Convert the mapped type A to the persisted type B.
|
Class<URL> |
getMappedType() |
Integer |
getPersistedSize() |
Class<String> |
getPersistedType() |
public Class<URL> getMappedType()
getMappedType in interface Converter<URL,String>public Class<String> getPersistedType()
getPersistedType in interface Converter<URL,String>public Integer getPersistedSize()
getPersistedSize in interface Converter<URL,String>public String convertToPersisted(URL value)
ConverterconvertToPersisted in interface Converter<URL,String>value - to convertpublic URL convertToMapped(Class<? extends URL> type, String value)
ConverterconvertToMapped in interface Converter<URL,String>type - the type to convertvalue - value to convert