public class DefaultDecoderFactory extends DecoderFactory
KEY_FACTORY_CLASS| Constructor | Description |
|---|---|
DefaultDecoderFactory() |
| Modifier and Type | Method | 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 UnsupportedEncodingException
BinaryDecoder for the specified encoding.createBinaryDecoder in class DecoderFactoryencoding - an encoding typeBinaryDecoder instanceUnsupportedEncodingException - where an encoder supporting the
specified encoding is not available.public org.apache.commons.codec.StringDecoder createStringDecoder(Encoding encoding) throws UnsupportedEncodingException
StringDecoder for the specified encoding.createStringDecoder in class DecoderFactoryencoding - an encoding typeStringDecoder instanceUnsupportedEncodingException - where an encoder supporting the
specified encoding is not available.