public class JarFileArchive extends java.lang.Object implements Archive
Archive.Entry, Archive.EntryFilter| Constructor and Description | 
|---|
| JarFileArchive(java.io.File file) | 
| JarFileArchive(java.io.File file,
              java.net.URL url) | 
| JarFileArchive(JarFile jarFile) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Closes the  Archive, releasing any open resources. | 
| java.util.jar.Manifest | getManifest()Returns the manifest of the archive. | 
| protected Archive | getNestedArchive(Archive.Entry entry) | 
| java.util.Iterator<Archive> | getNestedArchives(Archive.EntryFilter searchFilter,
                 Archive.EntryFilter includeFilter)Returns nested  Archives for entries that match the specified filters. | 
| java.net.URL | getUrl()Returns a URL that can be used to load the archive. | 
| java.util.Iterator<Archive.Entry> | iterator()Deprecated.  | 
| java.lang.String | toString() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, getNestedArchives, isExploded, spliteratorpublic JarFileArchive(java.io.File file)
               throws java.io.IOException
java.io.IOExceptionpublic JarFileArchive(java.io.File file,
                      java.net.URL url)
               throws java.io.IOException
java.io.IOExceptionpublic JarFileArchive(JarFile jarFile)
public java.net.URL getUrl()
                    throws java.net.MalformedURLException
Archivepublic java.util.jar.Manifest getManifest()
                                   throws java.io.IOException
ArchivegetManifest in interface Archivejava.io.IOException - if the manifest cannot be readpublic java.util.Iterator<Archive> getNestedArchives(Archive.EntryFilter searchFilter, Archive.EntryFilter includeFilter) throws java.io.IOException
ArchiveArchives for entries that match the specified filters.getNestedArchives in interface ArchivesearchFilter - filter used to limit when additional sub-entry searching is
 required or null if all entries should be considered.includeFilter - filter used to determine which entries should be included in
 the result or null if all entries should be includedjava.io.IOException - on IO error@Deprecated public java.util.Iterator<Archive.Entry> iterator()
Archiveiterator in interface java.lang.Iterable<Archive.Entry>iterator in interface ArchiveIterable.iterator()public void close()
           throws java.io.IOException
ArchiveArchive, releasing any open resources.protected Archive getNestedArchive(Archive.Entry entry) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object