public class DefaultDecoderFactory extends DecoderFactory
KEY_FACTORY_CLASS| Constructor and Description |
|---|
DefaultDecoderFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.codec.BinaryDecoder |
createBinaryDecoder(Encoding encoding)
Returns a new
BinaryDecoder for the specified encoding. |
org.apache.commons.codec.StringDecoder |
createStringDecoder(Encoding encoding)
Returns a new
StringDecoder for the specified encoding. |
getInstancepublic org.apache.commons.codec.BinaryDecoder createBinaryDecoder(Encoding encoding) throws java.io.UnsupportedEncodingException
BinaryDecoder for the specified encoding.createBinaryDecoder in class DecoderFactoryencoding - an encoding typeBinaryDecoder instancejava.io.UnsupportedEncodingException - where an encoder supporting the
specified encoding is not available.public org.apache.commons.codec.StringDecoder createStringDecoder(Encoding encoding) throws java.io.UnsupportedEncodingException
StringDecoder for the specified encoding.createStringDecoder in class DecoderFactoryencoding - an encoding typeStringDecoder instancejava.io.UnsupportedEncodingException - where an encoder supporting the
specified encoding is not available.