public enum IoMode extends Enum<IoMode>
| Enum Constant and Description |
|---|
CLOSE
Indicates that a handle is
closed. |
COPY
Indicates that data is copied.
|
FLUSH
Indicates that a handle is
flushed. |
OPEN
Indicates that a handle is opened.
|
READ
Indicates that data is read from a source.
|
WRITE
Indicates that data is written to a target.
|
| Modifier and Type | Method and Description |
|---|---|
static IoMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IoMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoMode READ
public static final IoMode WRITE
public static final IoMode COPY
public static final IoMode OPEN
public static IoMode[] values()
for (IoMode c : IoMode.values()) System.out.println(c);
public static IoMode 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 nullCopyright © 2001–2016 mmm-Team. All rights reserved.