Package org.apache.commons.vfs2.util
Enum PosixPermissions.Type
- All Implemented Interfaces:
- Serializable,- Comparable<PosixPermissions.Type>
- Enclosing class:
- PosixPermissions
Permission types.
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionGroup right executable.Group right readable.Group right writable.Other right executable.Other right readable.Other right writable.User right executable.User right readable.User right writable.
- 
Method SummaryModifier and TypeMethodDescriptionintgetMask()Gets the mask for this permission.static PosixPermissions.TypeReturns 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.
- 
Enum Constant Details- 
UserReadableUser right readable.
- 
UserWritableUser right writable.
- 
UserExecutableUser right executable.
- 
GroupReadableGroup right readable.
- 
GroupWritableGroup right writable.
- 
GroupExecutableGroup right executable.
- 
OtherReadableOther right readable.
- 
OtherWritableOther right writable.
- 
OtherExecutableOther right executable.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getMaskGets the mask for this permission.- Returns:
- the mask for this permission.
 
 
-