public class NfsType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static NfsType |
NFS_BLK
Block special device file.
|
static NfsType |
NFS_CHR
Character special device file.
|
static NfsType |
NFS_DIR
Directory.
|
static NfsType |
NFS_FIFO
Named pipe.
|
static NfsType |
NFS_LNK
Symbolic link.
|
static NfsType |
NFS_REG
Regular file.
|
static NfsType |
NFS_SOCK
Socket.
|
| Modifier and Type | Method and Description |
|---|---|
static NfsType |
fromValue(int value)
Convenience function to get the instance from the int type value.
|
int |
getValue() |
public static final NfsType NFS_REG
public static final NfsType NFS_DIR
public static final NfsType NFS_BLK
public static final NfsType NFS_CHR
public static final NfsType NFS_LNK
public static final NfsType NFS_SOCK
public static final NfsType NFS_FIFO
public static NfsType fromValue(int value)
value - The int type value.public int getValue()