|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FileMode.Type>
net.schmizz.sshj.sftp.FileMode.Type
public static enum FileMode.Type
Enum Constant Summary | |
---|---|
BLOCK_SPECIAL
block special |
|
CHAR_SPECIAL
character special |
|
DIRECTORY
directory |
|
FIFO_SPECIAL
FIFO special |
|
REGULAR
regular |
|
SOCKET_SPECIAL
socket special |
|
SYMKLINK
symbolic link |
|
UNKNOWN
unknown |
Method Summary | |
---|---|
static FileMode.Type |
fromMask(int mask)
|
int |
toMask()
|
static FileMode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FileMode.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 FileMode.Type BLOCK_SPECIAL
public static final FileMode.Type CHAR_SPECIAL
public static final FileMode.Type FIFO_SPECIAL
public static final FileMode.Type SOCKET_SPECIAL
public static final FileMode.Type REGULAR
public static final FileMode.Type DIRECTORY
public static final FileMode.Type SYMKLINK
public static final FileMode.Type UNKNOWN
Method Detail |
---|
public static FileMode.Type[] values()
for (FileMode.Type c : FileMode.Type.values()) System.out.println(c);
public static FileMode.Type 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 static FileMode.Type fromMask(int mask)
public int toMask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |