Package org.pentaho.di.trans.steps.file
Class BaseFileInputFiles
- java.lang.Object
-
- org.pentaho.di.trans.steps.file.BaseFileInputFiles
-
-
Field Summary
Fields Modifier and Type Field Description String
acceptingField
The field in which the filename is placedboolean
acceptingFilenames
Are we accepting filenames in input rows?String
acceptingStepName
The stepname to accept filenames fromString[]
excludeFileMask
Wildcard or filemask to exclude (regular expression)String[]
fileMask
Wildcard or filemask (regular expression)String[]
fileName
Array of filenamesString[]
fileRequired
Array of boolean values as string, indicating if a file is required.String[]
includeSubFolders
Array of boolean values as string, indicating if we need to fetch sub folders.boolean
isaddresult
The add filenames to result filenames flagstatic String
NO
boolean
passingThruFields
If receiving input rows, should we pass through existing fields?static String[]
RequiredFilesCode
static String[]
RequiredFilesDesc
static String
YES
-
Constructor Summary
Constructors Constructor Description BaseFileInputFiles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
static String
getRequiredFilesCode(String tt)
List<ResourceReference>
getResourceDependencies(TransMeta transMeta, StepMeta stepInfo)
boolean[]
includeSubFolderBoolean()
void
normalizeAllocation(int length)
protected static String[]
normalizeAllocation(String[] oldAllocation, int length)
void
setFileRequired(String[] fileRequiredin)
void
setIncludeSubFolders(String[] includeSubFoldersin)
-
-
-
Field Detail
-
NO
public static final String NO
- See Also:
- Constant Field Values
-
YES
public static final String YES
- See Also:
- Constant Field Values
-
RequiredFilesCode
public static final String[] RequiredFilesCode
-
RequiredFilesDesc
public static final String[] RequiredFilesDesc
-
fileName
public String[] fileName
Array of filenames
-
fileMask
public String[] fileMask
Wildcard or filemask (regular expression)
-
excludeFileMask
public String[] excludeFileMask
Wildcard or filemask to exclude (regular expression)
-
fileRequired
public String[] fileRequired
Array of boolean values as string, indicating if a file is required.
-
includeSubFolders
public String[] includeSubFolders
Array of boolean values as string, indicating if we need to fetch sub folders.
-
acceptingFilenames
public boolean acceptingFilenames
Are we accepting filenames in input rows?
-
acceptingStepName
public String acceptingStepName
The stepname to accept filenames from
-
passingThruFields
public boolean passingThruFields
If receiving input rows, should we pass through existing fields?
-
acceptingField
public String acceptingField
The field in which the filename is placed
-
isaddresult
public boolean isaddresult
The add filenames to result filenames flag
-
-
Method Detail
-
setFileRequired
public void setFileRequired(String[] fileRequiredin)
-
setIncludeSubFolders
public void setIncludeSubFolders(String[] includeSubFoldersin)
-
normalizeAllocation
public void normalizeAllocation(int length)
-
normalizeAllocation
protected static String[] normalizeAllocation(String[] oldAllocation, int length)
-
includeSubFolderBoolean
public boolean[] includeSubFolderBoolean()
-
getResourceDependencies
public List<ResourceReference> getResourceDependencies(TransMeta transMeta, StepMeta stepInfo)
-
-