Interface CsvInputAwareMeta
-
- All Known Implementing Classes:
CsvInputMeta
,TextFileInputMeta
public interface CsvInputAwareMeta
A common interface for all metas aware of the csv input format, such asCsvInputMeta
andTextFileInputMeta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDelimiter()
String
getEnclosure()
String
getEncoding()
String
getEscapeCharacter()
int
getFileFormatTypeNr()
org.apache.commons.vfs2.FileObject
getHeaderFileObject(TransMeta transMeta)
Returns aFileObject
that corresponds to the first encountered input file.boolean
hasHeader()
-
-
-
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 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.
-
-