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:
de.smartics.properties.api.config.transfer.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()
          
 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

Specified by:
create in interface de.smartics.properties.api.config.transfer.PropertySinkFactory<StreamPropertySink>
Overrides:
create in class Factory
Throws:
IllegalStateException


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