|
Bees v0.5.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--bees.core.Capability
|
+--bees.core.resource.PathSpec
|
+--bees.core.resource.FileSystemRoot
The FileSystemRoot capability is used to designate a "root" in the local file system.
| Fields inherited from class bees.core.Capability |
DELETE_PERMISSION, id, INVALID_ID |
| Constructor Summary | |
FileSystemRoot()
Construct an empty FileSystemRoot. |
|
| Method Summary | |
protected void |
fromBytes(byte[] flattened)
Bind this capability to the given object. |
void |
revoke()
Revoke access to the capability. |
Directory |
root()
Create a Directory capability, with the default permissions, that refers to the root directory in this "file system". |
Directory |
root(PermissionSet ps)
Create a Directory capability that refers to the root directory in this "file system". |
java.lang.String |
toString()
|
| Methods inherited from class bees.core.resource.PathSpec |
getFactory, specFromBytes, toBytes |
| Methods inherited from class bees.core.Capability |
checkPermission, clear, clonePermission, deleteCapability, equals, fromBytes, revokedPermission, revokePermission, revokePermissions, valid |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FileSystemRoot()
| Method Detail |
protected void fromBytes(byte[] flattened)
throws java.lang.Exception
CapabilityfromBytes in class CapabilityCapability.fromBytes(byte[])public void revoke()
Capabilityrevoke in class PathSpecCapability.revoke()public Directory root(PermissionSet ps)
ps - The set of permissions to give the new Directory object.public Directory root()
public java.lang.String toString()
toString in class PathSpecObject.toString()
|
Bees v0.5.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||