public interface Archive extends Iterable<Archive.Entry>
Launcher
.JarFileArchive
Modifier and Type | Interface and Description |
---|---|
static interface |
Archive.Entry
Represents a single entry in the archive.
|
static interface |
Archive.EntryFilter
Strategy interface to filter
Entries . |
Modifier and Type | Method and Description |
---|---|
Manifest |
getManifest()
Returns the manifest of the archive.
|
List<Archive> |
getNestedArchives(Archive.EntryFilter filter)
Returns nested
Archive s for entries that match the specified filter. |
URL |
getUrl()
Returns a URL that can be used to load the archive.
|
forEach, iterator, spliterator
URL getUrl() throws MalformedURLException
MalformedURLException
- if the URL is malformedManifest getManifest() throws IOException
IOException
- if the manifest cannot be readList<Archive> getNestedArchives(Archive.EntryFilter filter) throws IOException
Archive
s for entries that match the specified filter.filter
- the filter used to limit entriesIOException
- if nested archives cannot be readCopyright © 2018 Pivotal Software, Inc.. All rights reserved.