public interface ArchiveDescriptorFactory
| Modifier and Type | Method and Description |
|---|---|
ArchiveDescriptor |
buildArchiveDescriptor(URL url)
Build a descriptor of the archive indicated by the given url
|
ArchiveDescriptor |
buildArchiveDescriptor(URL url,
String path)
Build a descriptor of the archive indicated by the path relative to the given url
|
URL |
getJarURLFromURLEntry(URL url,
String entry)
Given a URL which defines an entry within a JAR (really any "bundled archive" such as a jar file, zip, etc)
and an entry within that JAR, find the URL to the JAR itself.
|
URL |
getURLFromPath(String jarPath)
Deprecated.
Not used!
|
ArchiveDescriptor buildArchiveDescriptor(URL url)
url - The url to the archiveArchiveDescriptor buildArchiveDescriptor(URL url, String path)
url - The url to the archivepath - The path within the given url that refers to the archiveURL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException
url - The URL to an entry within a JARentry - The entry that described the thing referred to by the URL relative to the JARIllegalArgumentException - Generally indicates a problem with malformed urls.@Deprecated URL getURLFromPath(String jarPath)
jarPath - The jar pathCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.