@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public class ZipArchiveEntry extends ZipEntry implements FsArchiveEntry
ZipEntry class implement the
FsArchiveEntry interface.ZipDriverEntry.Access, Entry.Size, Entry.TypeDEFLATED, 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| Constructor and Description |
|---|
ZipArchiveEntry(String name) |
ZipArchiveEntry(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.
|
clone, getComment, getCompressedSize, getCrc, getDosTime, getExtra, getMethod, getName, getPlatform, getSize, getTime, isDirectory, setComment, setCompressedSize, setCrc, setDosTime, setExtra, setMethod, setPlatform, setSize, setTimeZipArchiveEntry(String name)
public Entry.Type getType()
getType in interface FsArchiveEntryprotected DateTimeConverter getDateTimeConverter()
ZipEntryDateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa.
The implementation in the class ZipEntry returns
DateTimeConverter.JAR.
getDateTimeConverter in class ZipEntryDateTimeConverter - never null.DateTimeConverterpublic long getSize(Entry.Size type)
public boolean setSize(Entry.Size type, long size)
setSize in interface FsArchiveEntrypublic long getTime(Entry.Access type)
public boolean setTime(Entry.Access type, long time)
setTime in interface FsArchiveEntryCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.