de.schlichtherle.truezip.fs.archive.zip
Class ZipArchiveEntry
java.lang.Object
de.schlichtherle.truezip.zip.ZipEntry
de.schlichtherle.truezip.fs.archive.zip.ZipArchiveEntry
- All Implemented Interfaces:
- Entry, FsArchiveEntry, Cloneable
- Direct Known Subclasses:
- JarArchiveEntry
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
public class ZipArchiveEntry
- extends ZipEntry
- implements FsArchiveEntry
An adapter class to make the ZipEntry class implement the
FsArchiveEntry interface.
- Author:
- Christian Schlichtherle
- See Also:
ZipDriver
| Fields inherited from interface de.schlichtherle.truezip.entry.Entry |
NULL, UNKNOWN |
| Methods inherited from class de.schlichtherle.truezip.zip.ZipEntry |
clone, getComment, getCompressedSize, getCrc, getDosTime, getExtra, getMethod, getName, getPlatform, getSize, getTime, isDirectory, setComment, setCompressedSize, setCrc, setDosTime, setExtra, setMethod, setPlatform, setSize, setTime, toString |
| Methods inherited from interface de.schlichtherle.truezip.entry.Entry |
getName |
ZipArchiveEntry
ZipArchiveEntry(String name)
ZipArchiveEntry
ZipArchiveEntry(String name,
ZipEntry template)
getType
public Entry.Type getType()
- Specified by:
getType in interface Entry
getDateTimeConverter
protected DateTimeConverter getDateTimeConverter()
- Description copied from class:
ZipEntry
- Returns a
DateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa.
The implementation in the class ZipEntry returns
DateTimeConverter.JAR.
- Overrides:
getDateTimeConverter in class ZipEntry
- Returns:
- A
DateTimeConverter - never null. - See Also:
DateTimeConverter
getSize
public long getSize(Entry.Size type)
- Specified by:
getSize in interface Entry
setSize
public boolean setSize(Entry.Size type,
long size)
- Specified by:
setSize in interface FsArchiveEntry
getTime
public long getTime(Entry.Access type)
- Specified by:
getTime in interface Entry
setTime
public boolean setTime(Entry.Access type,
long time)
- Specified by:
setTime in interface FsArchiveEntry
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.