java.lang.Object
net.fortuna.ical4j.util.EncoderFactory
- Direct Known Subclasses:
DefaultEncoderFactory
Abstract base class for encoder factory implementations.
$Id$
Created on 13/05/2006
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe system property used to specify an alternateEncoderFactoryimplementation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.commons.codec.BinaryEncodercreateBinaryEncoder(Encoding encoding) Returns a newBinaryEncoderfor the specified encoding.abstract org.apache.commons.codec.StringEncodercreateStringEncoder(Encoding encoding) Returns a newStringEncoderfor the specified encoding.static EncoderFactory
-
Field Details
-
KEY_FACTORY_CLASS
The system property used to specify an alternateEncoderFactoryimplementation.- See Also:
-
-
Constructor Details
-
EncoderFactory
public EncoderFactory()
-
-
Method Details
-
getInstance
- Returns:
- Returns the instance.
-
createBinaryEncoder
public abstract org.apache.commons.codec.BinaryEncoder createBinaryEncoder(Encoding encoding) throws UnsupportedEncodingException Returns a newBinaryEncoderfor the specified encoding.- Parameters:
encoding- an encoding type- Returns:
- a
BinaryEncoderinstance - Throws:
UnsupportedEncodingException- where an encoder supporting the specified encoding is not available.
-
createStringEncoder
public abstract org.apache.commons.codec.StringEncoder createStringEncoder(Encoding encoding) throws UnsupportedEncodingException Returns a newStringEncoderfor the specified encoding.- Parameters:
encoding- an encoding type- Returns:
- a
StringEncoderinstance - Throws:
UnsupportedEncodingException- where an encoder supporting the specified encoding is not available.
-