org.apache.commons.convert
Class MiscConverters.StringToCharset
java.lang.Object
org.apache.commons.convert.AbstractConverter<String,Charset>
org.apache.commons.convert.MiscConverters.StringToCharset
- All Implemented Interfaces:
- Converter<String,Charset>, ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.StringToCharset
- extends AbstractConverter<String,Charset>
An object that converts a character set name String
to a
Charset
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiscConverters.StringToCharset
public MiscConverters.StringToCharset()
convert
public Charset convert(String obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.