java.lang.Object
net.fortuna.ical4j.util.DecoderFactory
- Direct Known Subclasses:
DefaultDecoderFactory
Abstract base class for decoder factory implementations.
$Id$
Created on 13/05/2006
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe system property used to specify an alternateDecoderFactoryimplementation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.commons.codec.BinaryDecodercreateBinaryDecoder(Encoding encoding) Returns a newBinaryDecoderfor the specified encoding.abstract org.apache.commons.codec.StringDecodercreateStringDecoder(Encoding encoding) Returns a newStringDecoderfor the specified encoding.static DecoderFactory
-
Field Details
-
KEY_FACTORY_CLASS
The system property used to specify an alternateDecoderFactoryimplementation.- See Also:
-
-
Constructor Details
-
DecoderFactory
public DecoderFactory()
-
-
Method Details
-
getInstance
- Returns:
- Returns the instance.
-
createBinaryDecoder
public abstract org.apache.commons.codec.BinaryDecoder createBinaryDecoder(Encoding encoding) throws UnsupportedEncodingException Returns a newBinaryDecoderfor the specified encoding.- Parameters:
encoding- an encoding type- Returns:
- a
BinaryDecoderinstance - Throws:
UnsupportedEncodingException- where an encoder supporting the specified encoding is not available.
-
createStringDecoder
public abstract org.apache.commons.codec.StringDecoder createStringDecoder(Encoding encoding) throws UnsupportedEncodingException Returns a newStringDecoderfor the specified encoding.- Parameters:
encoding- an encoding type- Returns:
- a
StringDecoderinstance - Throws:
UnsupportedEncodingException- where an encoder supporting the specified encoding is not available.
-