de.smartics.properties.config.transfer.templatestream
Class CsvFactory

Package class diagram package CsvFactory
java.lang.Object
  extended by de.smartics.properties.config.transfer.templatestream.Factory
      extended by de.smartics.properties.config.transfer.templatestream.CsvFactory
All Implemented Interfaces:
PropertySinkFactory< StreamPropertySink>

public final class CsvFactory
     
     
extends Factory

Creates instances of StreamPropertySink by providing a template to generate a CSV document.


Constructor Summary
CsvFactory()
          Default constructor.
 
Method Summary
 StreamPropertySink create()
          Creates an instance of PropertySink.
 void setWriteHeader(boolean writeHeader)
          Sets the flag controls whether (true) or not ( false) write a CSV header for columns.
 
Methods inherited from class de.smartics.properties.config.transfer.templatestream.Factory
getEncoding, setConfigColumn, setDocumentExtro, setDocumentIntro, setEncoding, setEscaper, setEscaperType, setFile, setLineExtro, setLineIntro, setNameColumn, setStream, setTable, setTemplate, setValueColumn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvFactory

public CsvFactory()
Default constructor.

Method Detail

setWriteHeader

public void setWriteHeader(boolean writeHeader)
Sets the flag controls whether ( true) or not ( false) write a CSV header for columns.

Parameters:
writeHeader - the flag controls whether ( true) or not ( false) write a CSV header for columns.

create

public StreamPropertySink create()
                          throws IllegalStateException
Description copied from class: Factory
Creates an instance of PropertySink.

Specified by:
create in interface PropertySinkFactory<StreamPropertySink>
Overrides:
create in class Factory
Returns:
an instance of PropertySink.
Throws:
IllegalStateException


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.