Package | Description |
---|---|
net.java.truecommons.cio |
Provides generic services for reading and writing
entries in
containers,
e.g. file systems, archive files or I/O buffer pools.
|
Modifier and Type | Field and Description |
---|---|
static BitField<Entry.Access> |
Entry.ALL_ACCESS
A bit field of all enums in
Entry.Access . |
static BitField<Entry.Access> |
Entry.ALL_POSIX_ACCESS
|
static BitField<Entry.Access> |
Entry.NO_ACCESS
A bit field of no enums in
Entry.Access . |
Modifier and Type | Method and Description |
---|---|
static Entry.Access |
Entry.Access.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entry.Access[] |
Entry.Access.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
MemoryBuffer.getCount(Entry.Access type) |
long |
MemoryBuffer.getTime(Entry.Access type) |
long |
DecoratingEntry.getTime(Entry.Access type) |
long |
Entry.getTime(Entry.Access type)
Returns the time of the given access
type for this entry in
milliseconds since the epoch or -1 if not
defined or the type is not supported. |
Boolean |
MemoryBuffer.isPermitted(Entry.Access type,
Entry.Entity entity) |
Boolean |
DecoratingEntry.isPermitted(Entry.Access type,
Entry.Entity entity) |
Boolean |
Entry.isPermitted(Entry.Access type,
Entry.Entity entity)
Returns
true or false if the given access type
to this entry for the given entity is respectively permitted or
denied. |
boolean |
MutableEntry.setPermitted(Entry.Access type,
Entry.Entity entity,
Boolean value)
Sets the permission for the given
entity for the given access
type to this entry. |
boolean |
MutableEntry.setTime(Entry.Access type,
long value)
Sets the time of the given access
type for this entry. |
Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.