public class ZipDriverEntry extends ZipEntry implements FsArchiveEntry
DateTimeConverter.ZIP.getDateTimeConverter(),
ZipDriverEntry.Access, Entry.Size, Entry.TypeBZIP2, DEFLATED, MAX_DOS_TIME, MIN_DOS_TIME, PLATFORM_FAT, PLATFORM_UNIX, STORED, UNKNOWNALL_ACCESS_SET, ALL_SIZE_SET, ALL_TYPE_SET, DIRECTORY_TYPE_SET, FILE_TYPE_SET, SPECIAL_TYPE_SET, SYMLINK_TYPE_SET, UNKNOWN| Modifier | Constructor and Description |
|---|---|
|
ZipDriverEntry(String name) |
protected |
ZipDriverEntry(String name,
ZipEntry template) |
| Modifier and Type | Method and Description |
|---|---|
protected DateTimeConverter |
getDateTimeConverter()
Returns a
DateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa. |
long |
getSize(Entry.Size type) |
long |
getTime(Entry.Access type) |
Entry.Type |
getType() |
boolean |
setSize(Entry.Size type,
long size) |
boolean |
setTime(Entry.Access type,
long time) |
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
clearEncryption, clone, getComment, getCompressedSize, getCrc, getExternalAttributes, getExtra, getMethod, getName, getPlatform, getSize, getTime, isDirectory, isEncrypted, setComment, setCompressedSize, setCrc, setEncrypted, setExternalAttributes, setExtra, setMethod, setPlatform, setSize, setTimepublic ZipDriverEntry(String name)
protected DateTimeConverter getDateTimeConverter()
DateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa.
The implementation in the class ZipDriverEntry returns
DateTimeConverter.ZIP.
getDateTimeConverter in class ZipEntryDateTimeConverter.ZIPpublic long getSize(Entry.Size type)
public long getTime(Entry.Access type)
public Entry.Type getType()
getType in interface FsArchiveEntrypublic boolean setSize(Entry.Size type, long size)
setSize in interface MutableEntrypublic boolean setTime(Entry.Access type, long time)
setTime in interface MutableEntryCopyright © 2005–2015 Schlichtherle IT Services. All rights reserved.