net.sf.jsefa.csv.lowlevel
Class CsvLowLevelIOFactory

java.lang.Object
  extended by net.sf.jsefa.csv.lowlevel.CsvLowLevelIOFactory
All Implemented Interfaces:
LowLevelIOFactory
Direct Known Subclasses:
CsvLowLevelIOFactoryImpl

public abstract class CsvLowLevelIOFactory
extends Object
implements LowLevelIOFactory

Factory for creating CsvLowLevelDeserializers and CsvLowLevelSerializers. This is the abstract base class for concrete factories. Each subclass must provide a static method create(CsvLowLevelConfiguration config) as well as implement the abstract methods.

This class provides a static factory method createFactory(CsvLowLevelConfiguration) to create an instance of a concrete CsvLowLevelIOFactory.

Author:
Norman Lahme-Huetig

Constructor Summary
CsvLowLevelIOFactory()
           
 
Method Summary
abstract  CsvLowLevelDeserializer createDeserializer()
          Creates a new LowLevelDeserializer.
static CsvLowLevelIOFactory createFactory(CsvLowLevelConfiguration config)
          Creates a new CsvLowLevelIOFactory for CsvLowLevelSerializers and CsvLowLevelDeserializers using the given configuration.
abstract  CsvLowLevelSerializer createSerializer()
          Creates a new LowLevelSerializer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvLowLevelIOFactory

public CsvLowLevelIOFactory()
Method Detail

createFactory

public static CsvLowLevelIOFactory createFactory(CsvLowLevelConfiguration config)
Creates a new CsvLowLevelIOFactory for CsvLowLevelSerializers and CsvLowLevelDeserializers using the given configuration.

Parameters:
config - the configuration object.
Returns:
an CsvLowLevelIOFactory factory
Throws:
IOFactoryException

createSerializer

public abstract CsvLowLevelSerializer createSerializer()
Creates a new LowLevelSerializer.

Specified by:
createSerializer in interface LowLevelIOFactory
Returns:
a LowLevelSerializer

createDeserializer

public abstract CsvLowLevelDeserializer createDeserializer()
Creates a new LowLevelDeserializer.

Specified by:
createDeserializer in interface LowLevelIOFactory
Returns:
a new LowLevelDeserializer


Copyright © 2014. All rights reserved.