org.pentaho.di.core.fileinput
Enum FileInputList.FileTypeFilter
java.lang.Object
java.lang.Enum<FileInputList.FileTypeFilter>
org.pentaho.di.core.fileinput.FileInputList.FileTypeFilter
- All Implemented Interfaces:
- Serializable, Comparable<FileInputList.FileTypeFilter>
- Enclosing class:
- FileInputList
public static enum FileInputList.FileTypeFilter
- extends Enum<FileInputList.FileTypeFilter>
FILES_AND_FOLDERS
public static final FileInputList.FileTypeFilter FILES_AND_FOLDERS
ONLY_FILES
public static final FileInputList.FileTypeFilter ONLY_FILES
ONLY_FOLDERS
public static final FileInputList.FileTypeFilter ONLY_FOLDERS
values
public static FileInputList.FileTypeFilter[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FileInputList.FileTypeFilter c : FileInputList.FileTypeFilter.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FileInputList.FileTypeFilter valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
isFileTypeAllowed
public boolean isFileTypeAllowed(org.apache.commons.vfs.FileType fileType)
toString
public String toString()
- Overrides:
toString
in class Enum<FileInputList.FileTypeFilter>
getByOrdinal
public static FileInputList.FileTypeFilter getByOrdinal(int ordinal)
getByName
public static FileInputList.FileTypeFilter getByName(String name)