int getMask()Returns the bits that represents the permission.
- the bits that represent the permission
java.lang.String getPattern()Returns a 32-character long bit pattern
Stringrepresenting this permission.
Implementations are free to format the pattern as they see fit, although under no circumstances may
RESERVED_ONbe used within the pattern. An exemption is in the case of
RESERVED_OFFwhich is used to denote a bit that is off (clear). Implementations may also elect to use
RESERVED_ONinternally for computation purposes, although this method may not return any
The returned String must be 32 characters in length.
This method is only used for user interface and logging purposes. It is not used in any permission calculations. Therefore, duplication of characters within the output is permitted.
- a 32-character bit pattern