net.fortuna.ical4j.util
Class EncoderFactory
java.lang.Object
net.fortuna.ical4j.util.EncoderFactory
- Direct Known Subclasses:
- DefaultEncoderFactory
public abstract class EncoderFactory
- extends java.lang.Object
$Id: EncoderFactory.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
EncoderFactory 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
EncoderFactory
implementation.
- See Also:
- Constant Field Values
EncoderFactory
public EncoderFactory()
getInstance
public static final EncoderFactory getInstance()
- Returns:
- Returns the instance.
createBinaryEncoder
public abstract BinaryEncoder createBinaryEncoder(Encoding encoding)
throws java.io.UnsupportedEncodingException
- Returns a new
BinaryEncoder
for the specified encoding.
- Parameters:
encoding
-
- Returns:
- a
BinaryEncoder
instance
- Throws:
java.io.UnsupportedEncodingException
- where an encoder supporting the
specified encoding is not available.
createStringEncoder
public abstract StringEncoder createStringEncoder(Encoding encoding)
throws java.io.UnsupportedEncodingException
- Returns a new
StringEncoder
for the specified encoding.
- Parameters:
encoding
-
- Returns:
- a
StringEncoder
instance
- Throws:
java.io.UnsupportedEncodingException
- where an encoder supporting the
specified encoding is not available.
Copyright © 2004-2009 Modularity. All Rights Reserved.