com.bea.control
Enum FileControl.FileIOType
java.lang.Object
java.lang.Enum<FileControl.FileIOType>
com.bea.control.FileControl.FileIOType
- All Implemented Interfaces:
- Serializable, Comparable<FileControl.FileIOType>
- Enclosing interface:
- FileControl
public static enum FileControl.FileIOType
- extends Enum<FileControl.FileIOType>
READ
public static final FileControl.FileIOType READ
WRITE
public static final FileControl.FileIOType WRITE
APPEND
public static final FileControl.FileIOType APPEND
READLINE
public static final FileControl.FileIOType READLINE
values
public static final FileControl.FileIOType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(FileControl.FileIOType c : FileControl.FileIOType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static FileControl.FileIOType 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