Enum Constant and Description |
---|
DevBlock
Block device.
|
DevChar
Character device.
|
Directory
Directory.
|
Fifo
FIFO or named pipe, depending on the platform/terminology.
|
File
Regular file.
|
Socket
Socket.
|
Symlink
Symbolic link.
|
Unknown
Used either if the object has type that is not in this enum, or
if the type has not yet been determined or set.
|
WhiteOut
A white-out file.
|
Modifier and Type | Method and Description |
---|---|
static FsObjType |
fromValue(long v) |
static FsObjType |
fromValue(java.lang.String v) |
int |
value() |
static FsObjType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FsObjType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsObjType Unknown
public static final FsObjType Fifo
public static final FsObjType DevChar
public static final FsObjType Directory
public static final FsObjType DevBlock
public static final FsObjType File
public static final FsObjType Symlink
public static final FsObjType Socket
public static final FsObjType WhiteOut
public static FsObjType[] values()
for (FsObjType c : FsObjType.values()) System.out.println(c);
public static FsObjType 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 FsObjType fromValue(long v)
public static FsObjType fromValue(java.lang.String v)