Schnittstelle TabularDocumentWriter<T>

Alle bekannten Implementierungsklassen:
CsvDocumentWriter

public interface TabularDocumentWriter<T>
An interface that defines the creation of tabular data documents. The column values can be added by means of addValue(Object) and new table rows can be created with newRow(). After completion the resulting document can be generated and queried with createDocument().
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static enum 
    The available date type formats
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    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
    Indicates that a new row should be started at the current position of the document.
  • Methodendetails

    • addValue

      void addValue(Object item)
      Adds a value object to the current position in the document. NULL values will be handled as an empty celll.
      Parameter:
      item - The value to add
    • createDocument

      T createDocument() throws Exception
      Generates and/or returns the resulting document.
      Gibt zurück:
      The resulting document
      Löst aus:
      Exception - if the document creation fails
    • getFileType

      FileType getFileType()
      Returns the file type of the generated document.
      Gibt zurück:
      The file type
    • newRow

      void newRow()
      Indicates that a new row should be started at the current position of the document.