Interface CsvInputAwareMeta
-
- All Known Implementing Classes:
CsvInputMeta,TextFileInputMeta
public interface CsvInputAwareMetaA common interface for all metas aware of the csv input format, such asCsvInputMetaandTextFileInputMeta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDelimiter()StringgetEnclosure()StringgetEncoding()StringgetEscapeCharacter()intgetFileFormatTypeNr()org.apache.commons.vfs2.FileObjectgetHeaderFileObject(TransMeta transMeta)Returns aFileObjectthat corresponds to the first encountered input file.booleanhasHeader()
-
-
-
Method Detail
-
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 aFileObjectthat 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
FileObjectcannot be created.
-
-