org.clapper.util.io
Enum FileFilterMatchType
java.lang.Object
java.lang.Enum<FileFilterMatchType>
org.clapper.util.io.FileFilterMatchType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FileFilterMatchType>
public enum FileFilterMatchType
- extends java.lang.Enum<FileFilterMatchType>
The FileFilterMatchType enumeration spells out the legal
match types for RegexFilenameFilter and RegexFileFilter.
- Version:
- $Revision: 5812 $
- Author:
- Copyright © 2004-2007 Brian M. Clapper
- See Also:
RegexFileFilter,
RegexFilenameFilter
|
Method Summary |
static FileFilterMatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FileFilterMatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
FILENAME
public static final FileFilterMatchType FILENAME
PATH
public static final FileFilterMatchType PATH
values
public static final FileFilterMatchType[] 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(FileFilterMatchType c : FileFilterMatchType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FileFilterMatchType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.