net.sf.flatpack.writer
Class AbstractWriterFactory

java.lang.Object
  extended by net.sf.flatpack.writer.AbstractWriterFactory
All Implemented Interfaces:
WriterFactory
Direct Known Subclasses:
DelimiterWriterFactory, FixedWriterFactory

public abstract class AbstractWriterFactory
extends java.lang.Object
implements WriterFactory

Author:
Dirk Holmes and Holger Holger Hoffstatte

Constructor Summary
protected AbstractWriterFactory()
           
protected AbstractWriterFactory(java.util.Map mapping)
           
protected AbstractWriterFactory(java.io.Reader mappingSrc)
           
 
Method Summary
abstract  Writer createWriter(java.io.Writer out)
           
protected  java.util.Map getColumnMapping()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWriterFactory

protected AbstractWriterFactory()

AbstractWriterFactory

protected AbstractWriterFactory(java.util.Map mapping)

AbstractWriterFactory

protected AbstractWriterFactory(java.io.Reader mappingSrc)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getColumnMapping

protected java.util.Map getColumnMapping()

createWriter

public abstract Writer createWriter(java.io.Writer out)
                             throws java.io.IOException
Specified by:
createWriter in interface WriterFactory
Throws:
java.io.IOException


Copyright © 2006-2011 Appendium - Portfolio Financing Platform. All Rights Reserved.