private static class FsArchiveController.ProxyEntry extends DecoratingEntry<FsArchiveEntry> implements FsArchiveEntry
Entry.Access, Entry.Size, Entry.TypedelegateALL_ACCESS_SET, ALL_SIZE_SET, ALL_TYPE_SET, DIRECTORY_TYPE_SET, FILE_TYPE_SET, SPECIAL_TYPE_SET, SYMLINK_TYPE_SET, UNKNOWN| Constructor and Description |
|---|
FsArchiveController.ProxyEntry(FsArchiveEntry entry) |
| Modifier and Type | Method and Description |
|---|---|
Entry.Type |
getType()
Returns the type of this archive entry.
|
boolean |
setSize(Entry.Size type,
long value)
Sets the size of the given type for this archive entry.
|
boolean |
setTime(Entry.Access type,
long value)
Sets the last access time of the given type for this archive entry.
|
getName, getSize, getTime, toStringFsArchiveController.ProxyEntry(FsArchiveEntry entry)
public Entry.Type getType()
FsArchiveEntrygetType in interface FsArchiveEntrypublic boolean setSize(Entry.Size type, long value)
FsArchiveEntrysetSize in interface FsArchiveEntrytype - the size type.value - the size of the given size type for this archive entry in
bytes or
-1.false if and only if setting a size for the given type
is unsupported.public boolean setTime(Entry.Access type, long value)
FsArchiveEntrysetTime in interface FsArchiveEntrytype - the access type.value - the last time of the given access type for this archive
entry in milliseconds since the epoch or
-1.false if and only if setting a time for the given type
is unsupported.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.