Package org.apache.ofbiz.base.conversion
Class MiscConverters.CharsetToString
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.nio.charset.Charset,java.lang.String>
-
- org.apache.ofbiz.base.conversion.MiscConverters.CharsetToString
-
- All Implemented Interfaces:
Converter<java.nio.charset.Charset,java.lang.String>
,ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.CharsetToString extends AbstractConverter<java.nio.charset.Charset,java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description CharsetToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
convert(java.nio.charset.Charset obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.lang.String convert(java.nio.charset.Charset obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-