net.fortuna.ical4j.util
Class DefaultDecoderFactory

java.lang.Object
  extended by net.fortuna.ical4j.util.DecoderFactory
      extended by net.fortuna.ical4j.util.DefaultDecoderFactory

public class DefaultDecoderFactory
extends DecoderFactory

Author:
Ben Fortuna

Field Summary
 
Fields inherited from class net.fortuna.ical4j.util.DecoderFactory
KEY_FACTORY_CLASS
 
Constructor Summary
DefaultDecoderFactory()
           
 
Method Summary
 BinaryDecoder createBinaryDecoder(Encoding encoding)
          Returns a new BinaryDecoder for the specified encoding.
 StringDecoder createStringDecoder(Encoding encoding)
          Returns a new StringDecoder for the specified encoding.
 
Methods inherited from class net.fortuna.ical4j.util.DecoderFactory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDecoderFactory

public DefaultDecoderFactory()
Method Detail

createBinaryDecoder

public BinaryDecoder createBinaryDecoder(Encoding encoding)
                                  throws java.io.UnsupportedEncodingException
Description copied from class: DecoderFactory
Returns a new BinaryDecoder for the specified encoding.

Specified by:
createBinaryDecoder in class DecoderFactory
Returns:
a BinaryDecoder instance
Throws:
java.io.UnsupportedEncodingException - where an encoder supporting the specified encoding is not available.

createStringDecoder

public StringDecoder createStringDecoder(Encoding encoding)
                                  throws java.io.UnsupportedEncodingException
Description copied from class: DecoderFactory
Returns a new StringDecoder for the specified encoding.

Specified by:
createStringDecoder in class DecoderFactory
Returns:
a StringDecoder instance
Throws:
java.io.UnsupportedEncodingException - where an encoder supporting the specified encoding is not available.


Copyright © 2004-2007 Modularity. All Rights Reserved.