Class TextFileInputMeta.Content
java.lang.Object
org.pentaho.di.trans.steps.fileinput.text.TextFileInputMeta.Content
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- TextFileInputMeta
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Switch to allow breaks (CR/LF) in Enclosuresboolean
Indicate whether or not we want to date fields strictly according to the format or lenientSpecifies the Locale of the Date format, null means the defaultString used to enclose separated fields (")The encoding to use for reading: null or empty string means system default encodingEscape character used to escape the enclosure String (\)Type of compression being usedThe file format: DOS or UNIX or mixedThe name of the field in the output containing the filenameType of file: CSV or fixedboolean
Flag indicating that the file contains one footer line that should be skipped.boolean
Flag indicating that the file contains one header line that should be skipped.boolean
Flag indicating that we should include the filename in the outputboolean
Flag indicating that a row number field should be included in the outputboolean
Flag indicating that the text-file has a paged layout.Length based on bytes or charactersboolean
Flag indicating that a single line is wrapped onto one or more lines in the text file.boolean
Flag indicating that we should skip all empty linesint
The number of footer lines, defaults to 1int
The number of header lines, defaults to 1int
The number of lines in the document headerint
The number of lines to read per pageint
The number of times the line wrappedlong
The maximum number or lines to readboolean
Flag indicating row number is per fileThe name of the field in the output containing the row numberString used to separated field (;) -
Constructor Summary
-
Method Summary
-
Field Details
-
fileType
Type of file: CSV or fixed -
separator
String used to separated field (;) -
enclosure
String used to enclose separated fields (") -
breakInEnclosureAllowed
public boolean breakInEnclosureAllowedSwitch to allow breaks (CR/LF) in Enclosures -
escapeCharacter
Escape character used to escape the enclosure String (\) -
header
public boolean headerFlag indicating that the file contains one header line that should be skipped. -
nrHeaderLines
public int nrHeaderLinesThe number of header lines, defaults to 1 -
lineWrapped
public boolean lineWrappedFlag indicating that a single line is wrapped onto one or more lines in the text file. -
nrWraps
public int nrWrapsThe number of times the line wrapped -
layoutPaged
public boolean layoutPagedFlag indicating that the text-file has a paged layout. -
nrLinesPerPage
public int nrLinesPerPageThe number of lines to read per page -
nrLinesDocHeader
public int nrLinesDocHeaderThe number of lines in the document header -
fileCompression
Type of compression being used -
noEmptyLines
public boolean noEmptyLinesFlag indicating that we should skip all empty lines -
includeFilename
public boolean includeFilenameFlag indicating that we should include the filename in the output -
filenameField
The name of the field in the output containing the filename -
includeRowNumber
public boolean includeRowNumberFlag indicating that a row number field should be included in the output -
rowNumberField
The name of the field in the output containing the row number -
rowNumberByFile
public boolean rowNumberByFileFlag indicating row number is per file -
fileFormat
The file format: DOS or UNIX or mixed -
encoding
The encoding to use for reading: null or empty string means system default encoding -
rowLimit
public long rowLimitThe maximum number or lines to read -
dateFormatLenient
public boolean dateFormatLenientIndicate whether or not we want to date fields strictly according to the format or lenient -
dateFormatLocale
Specifies the Locale of the Date format, null means the default -
length
Length based on bytes or characters
-
-
Constructor Details
-
Content
public Content()
-
-
Method Details
-
setDateFormatLocale
-