public interface MutableEntry extends Entry
Entry.Access, Entry.Size, Entry.TypeALL_ACCESS_SET, ALL_SIZE_SET, ALL_TYPE_SET, DIRECTORY_TYPE_SET, FILE_TYPE_SET, SPECIAL_TYPE_SET, SYMLINK_TYPE_SET, UNKNOWN| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean setSize(Entry.Size type, long value)
type - 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.NullPointerException - if type is null.IllegalArgumentException - if value is negative and not
-1.boolean setTime(Entry.Access type, long value)
type - 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.NullPointerException - if type is null.IllegalArgumentException - if value is negative and not
-1.Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.