public interface Archive extends java.lang.Iterable<Archive.Entry>
Launcher
.JarFileArchive
限定符和类型 | 接口和说明 |
---|---|
static interface |
Archive.Entry
Represents a single entry in the archive.
|
static interface |
Archive.EntryFilter
Strategy interface to filter
Entries . |
限定符和类型 | 方法和说明 |
---|---|
java.util.jar.Manifest |
getManifest()
Returns the manifest of the archive.
|
java.util.List<Archive> |
getNestedArchives(Archive.EntryFilter filter)
Returns nested
Archive s for entries that match the specified filter. |
java.net.URL |
getUrl()
Returns a URL that can be used to load the archive.
|
java.net.URL getUrl() throws java.net.MalformedURLException
java.net.MalformedURLException
- if the URL is malformedjava.util.jar.Manifest getManifest() throws java.io.IOException
java.io.IOException
- if the manifest cannot be readjava.util.List<Archive> getNestedArchives(Archive.EntryFilter filter) throws java.io.IOException
Archive
s for entries that match the specified filter.filter
- the filter used to limit entriesjava.io.IOException
- if nested archives cannot be read