public enum FileSeekOrigin extends java.lang.Enum<FileSeekOrigin>
IFile.seek(Long,org.virtualbox_7_0.FileSeekOrigin)
) is relative to.
Interface ID: {AD32F789-4279-4530-979C-F16892E1C263}
Enum Constant and Description |
---|
Begin
Seek from the beginning of the file.
|
Current
Seek from the current file position.
|
End
Seek relative to the end of the file.
|
Modifier and Type | Method and Description |
---|---|
static FileSeekOrigin |
fromValue(long v) |
static FileSeekOrigin |
fromValue(java.lang.String v) |
int |
value() |
static FileSeekOrigin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileSeekOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSeekOrigin Begin
public static final FileSeekOrigin Current
public static final FileSeekOrigin End
public static FileSeekOrigin[] values()
for (FileSeekOrigin c : FileSeekOrigin.values()) System.out.println(c);
public static FileSeekOrigin valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static FileSeekOrigin fromValue(long v)
public static FileSeekOrigin fromValue(java.lang.String v)