Class TextFileInputMeta.Content
- java.lang.Object
-
- org.pentaho.di.trans.steps.fileinput.text.TextFileInputMeta.Content
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- TextFileInputMeta
public static class TextFileInputMeta.Content extends Object implements Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description booleanbreakInEnclosureAllowedSwitch to allow breaks (CR/LF) in EnclosuresbooleandateFormatLenientIndicate whether or not we want to date fields strictly according to the format or lenientLocaledateFormatLocaleSpecifies the Locale of the Date format, null means the defaultStringenclosureString used to enclose separated fields (")StringencodingThe encoding to use for reading: null or empty string means system default encodingStringescapeCharacterEscape character used to escape the enclosure String (\)StringfileCompressionType of compression being usedStringfileFormatThe file format: DOS or UNIX or mixedStringfilenameFieldThe name of the field in the output containing the filenameStringfileTypeType of file: CSV or fixedbooleanfooterFlag indicating that the file contains one footer line that should be skipped.booleanheaderFlag indicating that the file contains one header line that should be skipped.booleanincludeFilenameFlag indicating that we should include the filename in the outputbooleanincludeRowNumberFlag indicating that a row number field should be included in the outputbooleanlayoutPagedFlag indicating that the text-file has a paged layout.StringlengthLength based on bytes or charactersbooleanlineWrappedFlag indicating that a single line is wrapped onto one or more lines in the text file.booleannoEmptyLinesFlag indicating that we should skip all empty linesintnrFooterLinesThe number of footer lines, defaults to 1intnrHeaderLinesThe number of header lines, defaults to 1intnrLinesDocHeaderThe number of lines in the document headerintnrLinesPerPageThe number of lines to read per pageintnrWrapsThe number of times the line wrappedlongrowLimitThe maximum number or lines to readbooleanrowNumberByFileFlag indicating row number is per fileStringrowNumberFieldThe name of the field in the output containing the row numberStringseparatorString used to separated field (;)
-
Constructor Summary
Constructors Constructor Description Content()
-
-
-
Field Detail
-
fileType
public String fileType
Type of file: CSV or fixed
-
separator
public String separator
String used to separated field (;)
-
enclosure
public String enclosure
String used to enclose separated fields (")
-
breakInEnclosureAllowed
public boolean breakInEnclosureAllowed
Switch to allow breaks (CR/LF) in Enclosures
-
escapeCharacter
public String escapeCharacter
Escape character used to escape the enclosure String (\)
-
header
public boolean header
Flag indicating that the file contains one header line that should be skipped.
-
nrHeaderLines
public int nrHeaderLines
The number of header lines, defaults to 1
-
footer
public boolean footer
Flag indicating that the file contains one footer line that should be skipped.
-
nrFooterLines
public int nrFooterLines
The number of footer lines, defaults to 1
-
lineWrapped
public boolean lineWrapped
Flag indicating that a single line is wrapped onto one or more lines in the text file.
-
nrWraps
public int nrWraps
The number of times the line wrapped
-
layoutPaged
public boolean layoutPaged
Flag indicating that the text-file has a paged layout.
-
nrLinesPerPage
public int nrLinesPerPage
The number of lines to read per page
-
nrLinesDocHeader
public int nrLinesDocHeader
The number of lines in the document header
-
fileCompression
public String fileCompression
Type of compression being used
-
noEmptyLines
public boolean noEmptyLines
Flag indicating that we should skip all empty lines
-
includeFilename
public boolean includeFilename
Flag indicating that we should include the filename in the output
-
filenameField
public String filenameField
The name of the field in the output containing the filename
-
includeRowNumber
public boolean includeRowNumber
Flag indicating that a row number field should be included in the output
-
rowNumberField
public String rowNumberField
The name of the field in the output containing the row number
-
rowNumberByFile
public boolean rowNumberByFile
Flag indicating row number is per file
-
fileFormat
public String fileFormat
The file format: DOS or UNIX or mixed
-
encoding
public String encoding
The encoding to use for reading: null or empty string means system default encoding
-
rowLimit
public long rowLimit
The maximum number or lines to read
-
dateFormatLenient
public boolean dateFormatLenient
Indicate whether or not we want to date fields strictly according to the format or lenient
-
dateFormatLocale
public Locale dateFormatLocale
Specifies the Locale of the Date format, null means the default
-
length
public String length
Length based on bytes or characters
-
-
Method Detail
-
setDateFormatLocale
public void setDateFormatLocale(String locale)
-
-