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 Summary
Modifier and TypeMethodDescriptionint
org.apache.commons.vfs2.FileObject
getHeaderFileObject
(TransMeta transMeta) Returns aFileObject
that corresponds to the first encountered input file.boolean
-
Method Details
-
getDelimiter
String getDelimiter() -
getEncoding
String getEncoding() -
getEnclosure
String getEnclosure() -
getEscapeCharacter
String getEscapeCharacter() -
getFileFormatTypeNr
int getFileFormatTypeNr() -
hasHeader
boolean hasHeader() -
getHeaderFileObject
Returns aFileObject
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
- theTransMeta
- Returns:
- null if the
FileObject
cannot be created.
-