net.sf.jsefa.csv
Class CsvIOFactoryImpl

java.lang.Object
  extended by net.sf.jsefa.csv.CsvIOFactory
      extended by net.sf.jsefa.csv.CsvIOFactoryImpl
All Implemented Interfaces:
IOFactory

public class CsvIOFactoryImpl
extends CsvIOFactory

Default implementation of CsvIOFactory.

Instances of this class are immutable and thread-safe.

Author:
Norman Lahme-Huetig

Method Summary
 CsvDeserializer createDeserializer()
          Creates a new Deserializer.
static CsvIOFactory createFactory(CsvConfiguration config)
          Creates a new CsvIOFactory for CsvSerializers and CsvDeserializers using the given configuration.
 CsvSerializer createSerializer()
          Creates a new Serializer.
 
Methods inherited from class net.sf.jsefa.csv.CsvIOFactory
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 CsvIOFactory createFactory(CsvConfiguration config)
Creates a new CsvIOFactory for CsvSerializers and CsvDeserializers using the given configuration.

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

createSerializer

public CsvSerializer createSerializer()
Creates a new Serializer.

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

createDeserializer

public CsvDeserializer createDeserializer()
Creates a new Deserializer.

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


Copyright © 2014. All rights reserved.