public static enum TypeSelector.FileType extends Enum<TypeSelector.FileType>
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute() |
static TypeSelector.FileType |
getFromAttribute(String attribute) |
static TypeSelector.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeSelector.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeSelector.FileType FILE
public static final TypeSelector.FileType DIR
public static TypeSelector.FileType[] values()
for (TypeSelector.FileType c : TypeSelector.FileType.values()) System.out.println(c);
public static TypeSelector.FileType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getAttribute()
public static TypeSelector.FileType getFromAttribute(String attribute)
Copyright © 2001–2025. All rights reserved.