public static enum PosixPermissions.Type extends Enum<PosixPermissions.Type>
Enum Constant and Description |
---|
GroupExecutable
Group right executable.
|
GroupReadable
Group right readable.
|
GroupWritable
Group right writable.
|
OtherExecutable
Other right executable.
|
OtherReadable
Other right readable.
|
OtherWritable
Other right writable.
|
UserExecutable
User right executable.
|
UserReadable
User right readable.
|
UserWritable
User right writable.
|
Modifier and Type | Method and Description |
---|---|
int |
getMask()
Return the mask for this permission.
|
static PosixPermissions.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PosixPermissions.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PosixPermissions.Type UserReadable
public static final PosixPermissions.Type UserWritable
public static final PosixPermissions.Type UserExecutable
public static final PosixPermissions.Type GroupReadable
public static final PosixPermissions.Type GroupWritable
public static final PosixPermissions.Type GroupExecutable
public static final PosixPermissions.Type OtherReadable
public static final PosixPermissions.Type OtherWritable
public static final PosixPermissions.Type OtherExecutable
public static PosixPermissions.Type[] values()
for (PosixPermissions.Type c : PosixPermissions.Type.values()) System.out.println(c);
public static PosixPermissions.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 nameNullPointerException
- if the argument is nullpublic int getMask()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.