TrueZIP Driver ZIP 7.0

de.schlichtherle.truezip.fs.archive.zip
Class JarArchiveEntry

java.lang.Object
  extended by de.schlichtherle.truezip.zip.ZipEntry
      extended by de.schlichtherle.truezip.fs.archive.zip.ZipArchiveEntry
          extended by de.schlichtherle.truezip.fs.archive.zip.JarArchiveEntry
All Implemented Interfaces:
Entry, FsArchiveEntry, Cloneable

@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
public class JarArchiveEntry
extends ZipArchiveEntry

Respects the different date/time conversion in JAR files.

Author:
Christian Schlichtherle
See Also:
JarDriver

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.schlichtherle.truezip.entry.Entry
Entry.Access, Entry.Size, Entry.Type
 
Field Summary
 
Fields inherited from class de.schlichtherle.truezip.zip.ZipEntry
DEFLATED, MIN_DOS_TIME, PLATFORM_FAT, PLATFORM_UNIX, STORED, UNKNOWN
 
Fields inherited from interface de.schlichtherle.truezip.entry.Entry
NULL, UNKNOWN
 
Constructor Summary
JarArchiveEntry(String name)
           
JarArchiveEntry(String name, ZipEntry template)
           
 
Method Summary
protected  DateTimeConverter getDateTimeConverter()
          Returns a DateTimeConverter for the conversion of Java time to DOS date/time fields and vice versa.
 
Methods inherited from class de.schlichtherle.truezip.fs.archive.zip.ZipArchiveEntry
getSize, getTime, getType, setSize, setTime
 
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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.schlichtherle.truezip.entry.Entry
getName
 

Constructor Detail

JarArchiveEntry

JarArchiveEntry(String name)

JarArchiveEntry

JarArchiveEntry(String name,
                ZipEntry template)
Method Detail

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 ZipArchiveEntry
Returns:
A DateTimeConverter - never null.
See Also:
DateTimeConverter

TrueZIP Driver ZIP 7.0

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.