TrueZIP 6.8

de.schlichtherle.io.archive.zip
Class JarInputArchive

java.lang.Object
  extended by de.schlichtherle.util.zip.BasicZipFile
      extended by de.schlichtherle.io.archive.zip.ZipInputArchive
          extended by de.schlichtherle.io.archive.zip.JarInputArchive
All Implemented Interfaces:
InputArchive
Direct Known Subclasses:
CheckedJarInputArchive

public class JarInputArchive
extends ZipInputArchive

An implementation of InputArchive to read JAR archives.

Since:
TrueZIP 6.7
Version:
$Id: JarInputArchive.java,v 1.3 2010/08/16 10:55:45 christian_schlichtherle Exp $
Author:
Christian Schlichtherle
See Also:
JarDriver

Field Summary
 
Fields inherited from class de.schlichtherle.util.zip.BasicZipFile
DEFAULT_CHARSET
 
Constructor Summary
JarInputArchive(ReadOnlyFile rof, String charset, boolean preambled, boolean postambled)
           
 
Method Summary
protected  ZipEntry createZipEntry(String entryName)
          A factory method returning a newly created ZipEntry for the given name.
 
Methods inherited from class de.schlichtherle.io.archive.zip.ZipInputArchive
getArchiveEntries, getArchiveEntry, getInputStream, getMetaData, getNumArchiveEntries, setMetaData
 
Methods inherited from class de.schlichtherle.util.zip.BasicZipFile
busy, close, createReadOnlyFile, entries, getCharset, getCheckedInputStream, getCheckedInputStream, getComment, getEntry, getInputStream, getInputStream, getInputStream, getInputStream, getInputStream, getPostambleInputStream, getPostambleLength, getPreambleInputStream, getPreambleLength, length, offsetsConsiderPreamble, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.schlichtherle.io.archive.spi.InputArchive
close
 

Constructor Detail

JarInputArchive

public JarInputArchive(ReadOnlyFile rof,
                       String charset,
                       boolean preambled,
                       boolean postambled)
                throws NullPointerException,
                       UnsupportedEncodingException,
                       FileNotFoundException,
                       ZipException,
                       IOException
Throws:
NullPointerException
UnsupportedEncodingException
FileNotFoundException
ZipException
IOException
Method Detail

createZipEntry

protected ZipEntry createZipEntry(String entryName)
Description copied from class: BasicZipFile
A factory method returning a newly created ZipEntry for the given name.

Overrides:
createZipEntry in class ZipInputArchive

TrueZIP 6.8

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