Interface ICsvInputAwareMeta
-
public interface ICsvInputAwareMetaA common interface for all metas aware of the csv input format, such as CSV Input and Text File Input
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDelimiter()StringgetEnclosure()StringgetEncoding()StringgetEscapeCharacter()intgetFileFormatTypeNr()org.apache.commons.vfs2.FileObjectgetHeaderFileObject(IVariables variables)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(IVariables variables)
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:
variables- thePipelineMeta- Returns:
- null if the
FileObjectcannot be created.
-
-