Package org.nuiton.converter
Class URLConverter
- java.lang.Object
-
- org.nuiton.converter.URLConverter
-
- All Implemented Interfaces:
org.apache.commons.beanutils.Converter,NuitonConverter<URL>
public class URLConverter extends Object implements NuitonConverter<URL>
- Since:
- 1.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Constructor Summary
Constructors Constructor Description URLConverter()
-
-
-
Method Detail
-
convert
public <T> T convert(Class<T> aClass, Object value)
- Specified by:
convertin interfaceorg.apache.commons.beanutils.Converter
-
isEnabled
protected boolean isEnabled(Class<?> aClass)
-
getType
public Class<URL> getType()
- Specified by:
getTypein interfaceNuitonConverter<URL>- Returns:
- the main type of the converter.
-
-