public enum NfsFileType extends Enum<NfsFileType>
Enum Constant and Description |
---|
NFSBLK |
NFSCHR |
NFSDIR |
NFSFIFO |
NFSLNK |
NFSREG |
NFSSOCK |
Modifier and Type | Method and Description |
---|---|
int |
toValue() |
static NfsFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NfsFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NfsFileType NFSREG
public static final NfsFileType NFSDIR
public static final NfsFileType NFSBLK
public static final NfsFileType NFSCHR
public static final NfsFileType NFSLNK
public static final NfsFileType NFSSOCK
public static final NfsFileType NFSFIFO
public static NfsFileType[] values()
for (NfsFileType c : NfsFileType.values()) System.out.println(c);
public static NfsFileType 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 nullpublic int toValue()
Copyright © 2013 Apache Software Foundation. All rights reserved.