|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SeekMode>
org.ogf.saga.file.SeekMode
public enum SeekMode
Determines the seekmode for File.seek(long, org.ogf.saga.file.SeekMode): the specified offset is
interpreted with respect to the start, the current position, or the end.
| Enum Constant Summary | |
|---|---|
CURRENT
Seek from the current position in the file. |
|
END
Seek from the end of the file. |
|
START
Seek from the start of the file. |
|
| Method Summary | |
|---|---|
int |
getValue()
Returns the integer value of this enumeration literal. |
static SeekMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SeekMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SeekMode START
public static final SeekMode CURRENT
public static final SeekMode END
| Method Detail |
|---|
public static SeekMode[] values()
for (SeekMode c : SeekMode.values()) System.out.println(c);
public static SeekMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||