Package de.esoco.data.document
Klasse CsvDocumentWriter
java.lang.Object
de.esoco.data.document.CsvDocumentWriter
- Alle implementierten Schnittstellen:
TabularDocumentWriter<String>
A
TabularDocumentWriter
implementation for the CSV file format. The
resulting document is a text string.-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.esoco.data.document.TabularDocumentWriter
TabularDocumentWriter.DateFormat
-
Konstruktorübersicht
KonstruktorBeschreibungCsvDocumentWriter
(String valueSeparator) Creates a new instance.CsvDocumentWriter
(String valueSeparator, TabularDocumentWriter.DateFormat dateFormat) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Adds a value object to the current position in the document.Generates and/or returns the resulting document.Returns the file type of the generated document.void
newRow()
Indicates that a new row should be started at the current position of the document.
-
Konstruktordetails
-
CsvDocumentWriter
Creates a new instance.- Parameter:
valueSeparator
- The list value separator to use.
-
CsvDocumentWriter
Creates a new instance.- Parameter:
valueSeparator
- The list value separator to use.dateFormat
- The date format for date fields.
-
-
Methodendetails
-
addValue
Beschreibung aus Schnittstelle kopiert:TabularDocumentWriter
Adds a value object to the current position in the document. NULL values will be handled as an empty celll.- Angegeben von:
addValue
in SchnittstelleTabularDocumentWriter<String>
- Parameter:
value
- The value to add- Siehe auch:
-
createDocument
Beschreibung aus Schnittstelle kopiert:TabularDocumentWriter
Generates and/or returns the resulting document.- Angegeben von:
createDocument
in SchnittstelleTabularDocumentWriter<String>
- Gibt zurück:
- The resulting document
- Siehe auch:
-
getFileType
Beschreibung aus Schnittstelle kopiert:TabularDocumentWriter
Returns the file type of the generated document.- Angegeben von:
getFileType
in SchnittstelleTabularDocumentWriter<String>
- Gibt zurück:
- The file type
- Siehe auch:
-
newRow
public void newRow()Beschreibung aus Schnittstelle kopiert:TabularDocumentWriter
Indicates that a new row should be started at the current position of the document.- Angegeben von:
newRow
in SchnittstelleTabularDocumentWriter<String>
- Siehe auch:
-