com.openindex.openestate.impl.csv
Class CSVWriter

java.lang.Object
  extended by com.openindex.openestate.impl.OpenEstateConverter
      extended by com.openindex.openestate.impl.csv.CSVWriter
Direct Known Subclasses:
IDXCSVWriter, IS24CSVWriter

public abstract class CSVWriter
extends OpenEstateConverter

allgemeine Basisklasse zum Schreiben von CSV-Daten.
$Id: CSVWriter.java 1207 2011-12-02 01:00:50Z andy $

Author:
Andreas Rudolph

Constructor Summary
CSVWriter()
          Erzeugt eine Instanz der Klasse 'CSVWriter'
 
Method Summary
 String getCsvCharset()
           
 String getCsvLineSeparator()
           
 String getCsvValueSeparator()
           
protected  String prepareValue(String value)
           
 void write(File f, SerializableXmlElement src)
           
 void write(File f, SerializableXmlElement src, String charset)
           
 void write(OutputStream out, SerializableXmlElement src)
           
 void write(OutputStream out, SerializableXmlElement src, String charset)
           
abstract  void write(Writer w, SerializableXmlElement src)
           
 void writeValues(Writer w, String[] values)
           
 
Methods inherited from class com.openindex.openestate.impl.OpenEstateConverter
getErrorMap, getEstateValue, getEstateValueAsBigDecimal, getEstateValueAsBigInteger, getEstateValueAsBoolean, getEstateValueAsCalendar, getEstateValueAsDate, getEstateValueAsDouble, getEstateValueAsFloat, getEstateValueAsInteger, getEstateValueAsList, getEstateValueAsLong, getEstateValueAsNonEmptyString, getEstateValueAsString, getFormattedEstateValue, getNumber, getOpenEstateLanguage, getXmlLineSeparator, hasEstateValue, putErrors, putEstateValue, putEstateValue, setOpenEstateLanguage, setXmlLineSeparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVWriter

public CSVWriter()
Erzeugt eine Instanz der Klasse 'CSVWriter'

Method Detail

getCsvCharset

public String getCsvCharset()

getCsvLineSeparator

public String getCsvLineSeparator()

getCsvValueSeparator

public String getCsvValueSeparator()

prepareValue

protected String prepareValue(String value)

write

public void write(File f,
                  SerializableXmlElement src)
           throws IOException
Throws:
IOException

write

public void write(File f,
                  SerializableXmlElement src,
                  String charset)
           throws IOException
Throws:
IOException

write

public void write(OutputStream out,
                  SerializableXmlElement src)
           throws IOException
Throws:
IOException

write

public void write(OutputStream out,
                  SerializableXmlElement src,
                  String charset)
           throws IOException
Throws:
IOException

write

public abstract void write(Writer w,
                           SerializableXmlElement src)
                    throws IOException
Throws:
IOException

writeValues

public void writeValues(Writer w,
                        String[] values)
                 throws IOException
Throws:
IOException


Copyright © 2012 OpenEstate. All Rights Reserved.