org.codehaus.mojo.xmlbeans
Class FilteredJarFile

java.lang.Object
  extended byjava.util.zip.ZipFile
      extended byjava.util.jar.JarFile
          extended byorg.codehaus.mojo.xmlbeans.FilteredJarFile
All Implemented Interfaces:
java.util.zip.ZipConstants

public class FilteredJarFile
extends java.util.jar.JarFile


Field Summary
 
Fields inherited from class java.util.jar.JarFile
MANIFEST_NAME
 
Fields inherited from class java.util.zip.ZipFile
CENATT, CENATX, CENCOM, CENCRC, CENDSK, CENEXT, CENFLG, CENHDR, CENHOW, CENLEN, CENNAM, CENOFF, CENSIG, CENSIZ, CENTIM, CENVEM, CENVER, ENDCOM, ENDHDR, ENDOFF, ENDSIG, ENDSIZ, ENDSUB, ENDTOT, EXTCRC, EXTHDR, EXTLEN, EXTSIG, EXTSIZ, LOCCRC, LOCEXT, LOCFLG, LOCHDR, LOCHOW, LOCLEN, LOCNAM, LOCSIG, LOCSIZ, LOCTIM, LOCVER, OPEN_DELETE, OPEN_READ
 
Constructor Summary
FilteredJarFile(java.io.File arg0, org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
 void extractEntry(java.io.File prefix, java.util.jar.JarEntry entry)
          Unpack this entry into the given file location.
 java.util.List getEntryPathsAndExtract(java.lang.String[] filter, java.io.File prefix)
           
 
Methods inherited from class java.util.jar.JarFile
entries, getEntry, getInputStream, getJarEntry, getManifest
 
Methods inherited from class java.util.zip.ZipFile
close, finalize, getName, size
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredJarFile

public FilteredJarFile(java.io.File arg0,
                       org.apache.maven.plugin.logging.Log log)
                throws java.io.IOException
Method Detail

getEntryPathsAndExtract

public java.util.List getEntryPathsAndExtract(java.lang.String[] filter,
                                              java.io.File prefix)
                                       throws java.io.IOException
Throws:
java.io.IOException

extractEntry

public void extractEntry(java.io.File prefix,
                         java.util.jar.JarEntry entry)
                  throws java.io.IOException
Unpack this entry into the given file location.

Parameters:
prefix - The directory to unpack to.
entry - The entry to unpack.
Throws:
java.io.IOException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.