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 boolean
breakInEnclosureAllowed
Switch to allow breaks (CR/LF) in Enclosuresboolean
dateFormatLenient
Indicate whether or not we want to date fields strictly according to the format or lenientLocale
dateFormatLocale
Specifies the Locale of the Date format, null means the defaultString
enclosure
String used to enclose separated fields (")String
encoding
The encoding to use for reading: null or empty string means system default encodingString
escapeCharacter
Escape character used to escape the enclosure String (\)String
fileCompression
Type of compression being usedString
fileFormat
The file format: DOS or UNIX or mixedString
filenameField
The name of the field in the output containing the filenameString
fileType
Type of file: CSV or fixedboolean
footer
Flag indicating that the file contains one footer line that should be skipped.boolean
header
Flag indicating that the file contains one header line that should be skipped.boolean
includeFilename
Flag indicating that we should include the filename in the outputboolean
includeRowNumber
Flag indicating that a row number field should be included in the outputboolean
layoutPaged
Flag indicating that the text-file has a paged layout.String
length
Length based on bytes or charactersboolean
lineWrapped
Flag indicating that a single line is wrapped onto one or more lines in the text file.boolean
noEmptyLines
Flag indicating that we should skip all empty linesint
nrFooterLines
The number of footer lines, defaults to 1int
nrHeaderLines
The number of header lines, defaults to 1int
nrLinesDocHeader
The number of lines in the document headerint
nrLinesPerPage
The number of lines to read per pageint
nrWraps
The number of times the line wrappedlong
rowLimit
The maximum number or lines to readboolean
rowNumberByFile
Flag indicating row number is per fileString
rowNumberField
The name of the field in the output containing the row numberString
separator
String 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)
-
-