GNDMS 0.6.0
RESTful verison of GNDMS
|
An AccessMask is used to handle access rights for the access types user, group and other. More...
Inherits java::io::Serializable.
Public Types | |
enum | AccessFlags { READABLE = ( 0x4 ), WRITABLE = ( 0x2 ), EXECUTABLE = ( 0x1 ), READWRITE = ( 0x6 ), READEXECUT = ( 0X5 ), WRITEEXEC = ( 0X3 ), ALL = ( 0X7 ), NONE = ( 0x0 ) } |
AccessFlags is an enumeration for the different access types. More... | |
Static Private Attributes | |
static final long | serialVersionUID = 3846269515013219026L |
The serialization id. |
An AccessMask is used to handle access rights for the access types user, group and other.
Read, write and execute rights can be set or unset by using a bit mask.
AccessFlags is an enumeration for the different access types.
Its value can be chosen by bit flags. In detail an int value will be interpreted as follows:
If we have an int x = x1 x2 x3 in binary representation with x element of [0;7] then if set to 1 the meaning of the flags are x3 = Executable x2 = Writable x1 = Readable