public interface Archive
Launcher
.JarFileArchive
Modifier and Type | Interface and Description |
---|---|
static interface |
Archive.Entry
Represents a single entry in the archive.
|
static interface |
Archive.EntryFilter
A filter for archive entries.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Archive.Entry> |
getEntries()
Returns archive entries.
|
Archive |
getFilteredArchive(Archive.EntryFilter filter)
Returns a filtered version of the archive.
|
Manifest |
getManifest()
Returns the manifest of the archive.
|
Archive |
getNestedArchive(Archive.Entry entry)
Returns a nest archive from on the the contained entries.
|
URL |
getUrl()
Returns a URL that can be used to load the archive.
|
Manifest getManifest() throws IOException
IOException
Iterable<Archive.Entry> getEntries()
URL getUrl() throws MalformedURLException
MalformedURLException
Archive getNestedArchive(Archive.Entry entry) throws IOException
entry
- the entry (may be a directory or file)IOException
Archive getFilteredArchive(Archive.EntryFilter filter) throws IOException
filter
- the filter to applyIOException
Copyright © 2013. All rights reserved.