Class ContentTypeConverter
- java.lang.Object
-
- com.norconex.commons.lang.convert.AbstractConverter
-
- com.norconex.commons.lang.convert.ContentTypeConverter
-
- All Implemented Interfaces:
IConverter
public class ContentTypeConverter extends AbstractConverter
ContentTypeconverter.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description ContentTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringnullSafeToString(Object object)protected <T> TnullSafeToType(String value, Class<T> type)-
Methods inherited from class com.norconex.commons.lang.convert.AbstractConverter
equals, hashCode, toString, toString, toStringException, toStringException, toType, toTypeException, toTypeException, toUnsupportedTypeException
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.norconex.commons.lang.convert.IConverter
toString, toType
-
-
-
-
Method Detail
-
nullSafeToString
protected String nullSafeToString(Object object)
- Specified by:
nullSafeToStringin classAbstractConverter
-
nullSafeToType
protected <T> T nullSafeToType(String value, Class<T> type)
- Specified by:
nullSafeToTypein classAbstractConverter
-
-