Interface CsvInputAwareMeta

All Known Implementing Classes:
CsvInputMeta, TextFileInputMeta

public interface CsvInputAwareMeta
A common interface for all metas aware of the csv input format, such as CsvInputMeta and TextFileInputMeta
  • Method Details

    • getDelimiter

      String getDelimiter()
    • getEncoding

      String getEncoding()
    • getEnclosure

      String getEnclosure()
    • getEscapeCharacter

      String getEscapeCharacter()
    • getFileFormatTypeNr

      int getFileFormatTypeNr()
    • hasHeader

      boolean hasHeader()
    • getHeaderFileObject

      org.apache.commons.vfs2.FileObject getHeaderFileObject(TransMeta transMeta)
      Returns a FileObject that corresponds to the first encountered input file. This object is used to read the file headers for the purpose of field parsing.
      Parameters:
      transMeta - the TransMeta
      Returns:
      null if the FileObject cannot be created.