public static enum SshFile.Permission extends Enum<SshFile.Permission>
Enum Constant and Description |
---|
GroupExecute |
GroupRead |
GroupWrite |
OthersExecute |
OthersRead |
OthersWrite |
UserExecute |
UserRead |
UserWrite |
Modifier and Type | Method and Description |
---|---|
static SshFile.Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SshFile.Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SshFile.Permission UserRead
public static final SshFile.Permission UserWrite
public static final SshFile.Permission UserExecute
public static final SshFile.Permission GroupRead
public static final SshFile.Permission GroupWrite
public static final SshFile.Permission GroupExecute
public static final SshFile.Permission OthersRead
public static final SshFile.Permission OthersWrite
public static final SshFile.Permission OthersExecute
public static SshFile.Permission[] values()
for (SshFile.Permission c : SshFile.Permission.values()) System.out.println(c);
public static SshFile.Permission 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 nullCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.