Package net.fortuna.ical4j.util
Class DefaultDecoderFactory
java.lang.Object
net.fortuna.ical4j.util.DecoderFactory
net.fortuna.ical4j.util.DefaultDecoderFactory
Default decoder factory implementation.
$Id$
Created on 13/05/2006
-
Field Summary
Fields inherited from class net.fortuna.ical4j.util.DecoderFactory
KEY_FACTORY_CLASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.codec.BinaryDecodercreateBinaryDecoder(Encoding encoding) Returns a newBinaryDecoderfor the specified encoding.org.apache.commons.codec.StringDecodercreateStringDecoder(Encoding encoding) Returns a newStringDecoderfor the specified encoding.Methods inherited from class net.fortuna.ical4j.util.DecoderFactory
getInstance
-
Constructor Details
-
DefaultDecoderFactory
public DefaultDecoderFactory()
-
-
Method Details
-
createBinaryDecoder
public org.apache.commons.codec.BinaryDecoder createBinaryDecoder(Encoding encoding) throws UnsupportedEncodingException Returns a newBinaryDecoderfor the specified encoding.- Specified by:
createBinaryDecoderin classDecoderFactory- Parameters:
encoding- an encoding type- Returns:
- a
BinaryDecoderinstance - Throws:
UnsupportedEncodingException- where an encoder supporting the specified encoding is not available.
-
createStringDecoder
public org.apache.commons.codec.StringDecoder createStringDecoder(Encoding encoding) throws UnsupportedEncodingException Returns a newStringDecoderfor the specified encoding.- Specified by:
createStringDecoderin classDecoderFactory- Parameters:
encoding- an encoding type- Returns:
- a
StringDecoderinstance - Throws:
UnsupportedEncodingException- where an encoder supporting the specified encoding is not available.
-