net.fortuna.ical4j.util
Class DecoderFactory
java.lang.Object
net.fortuna.ical4j.util.DecoderFactory
- Direct Known Subclasses:
- DefaultDecoderFactory
public abstract class DecoderFactory
- extends java.lang.Object
$Id: DecoderFactory.java,v 1.4 2008/12/16 12:34:53 fortuna Exp $
Created on 13/05/2006
- Author:
- Ben Fortuna
Field Summary |
static java.lang.String |
KEY_FACTORY_CLASS
The system property used to specify an alternate
DecoderFactory implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_FACTORY_CLASS
public static final java.lang.String KEY_FACTORY_CLASS
- The system property used to specify an alternate
DecoderFactory
implementation.
- See Also:
- Constant Field Values
DecoderFactory
public DecoderFactory()
getInstance
public static final DecoderFactory getInstance()
- Returns:
- Returns the instance.
createBinaryDecoder
public abstract BinaryDecoder createBinaryDecoder(Encoding encoding)
throws java.io.UnsupportedEncodingException
- Returns a new
BinaryDecoder
for the specified encoding.
- Parameters:
encoding
-
- Returns:
- a
BinaryDecoder
instance
- Throws:
java.io.UnsupportedEncodingException
- where an encoder supporting the
specified encoding is not available.
createStringDecoder
public abstract StringDecoder createStringDecoder(Encoding encoding)
throws java.io.UnsupportedEncodingException
- Returns a new
StringDecoder
for the specified encoding.
- Parameters:
encoding
-
- Returns:
- a
StringDecoder
instance
- Throws:
java.io.UnsupportedEncodingException
- where an encoder supporting the
specified encoding is not available.
Copyright © 2004-2009 Modularity. All Rights Reserved.