net.sf.jsefa.flr
Class FlrIOFactoryImpl

java.lang.Object
  extended by net.sf.jsefa.flr.FlrIOFactory
      extended by net.sf.jsefa.flr.FlrIOFactoryImpl
All Implemented Interfaces:
IOFactory

public final class FlrIOFactoryImpl
extends FlrIOFactory

Default implementation of FlrIOFactory.

Instances of this class are immutable and thread-safe.

Author:
Norman Lahme-Huetig

Method Summary
 FlrDeserializer createDeserializer()
          Creates a new Deserializer.
static FlrIOFactory createFactory(FlrConfiguration config)
          Creates a new FlrIOFactory for FlrSerializers and FlrDeserializers using the given configuration.
 FlrSerializer createSerializer()
          Creates a new Serializer.
 
Methods inherited from class net.sf.jsefa.flr.FlrIOFactory
createFactory, createFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFactory

public static FlrIOFactory createFactory(FlrConfiguration config)
Creates a new FlrIOFactory for FlrSerializers and FlrDeserializers using the given configuration.

Parameters:
config - the configuration object.
Returns:
a FlrIOFactory factory
Throws:
IOFactoryException

createSerializer

public FlrSerializer createSerializer()
Creates a new Serializer.

Specified by:
createSerializer in interface IOFactory
Specified by:
createSerializer in class FlrIOFactory
Returns:
a Serializer

createDeserializer

public FlrDeserializer createDeserializer()
Creates a new Deserializer.

Specified by:
createDeserializer in interface IOFactory
Specified by:
createDeserializer in class FlrIOFactory
Returns:
a new Deserializer


Copyright © 2014. All rights reserved.