Package net.fortuna.ical4j.util
Class DefaultDecoderFactory
- java.lang.Object
-
- net.fortuna.ical4j.util.DecoderFactory
-
- net.fortuna.ical4j.util.DefaultDecoderFactory
-
public class DefaultDecoderFactory extends DecoderFactory
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 Constructor Description DefaultDecoderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.codec.BinaryDecoder
createBinaryDecoder(Encoding encoding)
Returns a newBinaryDecoder
for the specified encoding.org.apache.commons.codec.StringDecoder
createStringDecoder(Encoding encoding)
Returns a newStringDecoder
for the specified encoding.-
Methods inherited from class net.fortuna.ical4j.util.DecoderFactory
getInstance
-
-
-
-
Method Detail
-
createBinaryDecoder
public org.apache.commons.codec.BinaryDecoder createBinaryDecoder(Encoding encoding) throws UnsupportedEncodingException
Returns a newBinaryDecoder
for the specified encoding.- Specified by:
createBinaryDecoder
in classDecoderFactory
- Parameters:
encoding
- an encoding type- Returns:
- a
BinaryDecoder
instance - 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 newStringDecoder
for the specified encoding.- Specified by:
createStringDecoder
in classDecoderFactory
- Parameters:
encoding
- an encoding type- Returns:
- a
StringDecoder
instance - Throws:
UnsupportedEncodingException
- where an encoder supporting the specified encoding is not available.
-
-