|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Archive
An archive that can be launched by the Launcher.
JarFileArchive| Nested Class Summary | |
|---|---|
static interface |
Archive.Entry
Represents a single entry in the archive. |
static interface |
Archive.EntryFilter
A filter for archive entries. |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Manifest getManifest()
throws IOException
IOExceptionIterable<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 apply
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||