public abstract class AbstractArchiveDescriptorFactory extends java.lang.Object implements ArchiveDescriptorFactory
| Constructor and Description |
|---|
AbstractArchiveDescriptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
ArchiveDescriptor |
buildArchiveDescriptor(java.net.URL url)
Build a descriptor of the archive indicated by the given url
|
java.net.URL |
getJarURLFromURLEntry(java.net.URL url,
java.lang.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.
|
java.net.URL |
getURLFromPath(java.lang.String jarPath)
Not used!
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildArchiveDescriptorpublic ArchiveDescriptor buildArchiveDescriptor(java.net.URL url)
ArchiveDescriptorFactorybuildArchiveDescriptor in interface ArchiveDescriptorFactoryurl - The url to the archivepublic java.net.URL getJarURLFromURLEntry(java.net.URL url,
java.lang.String entry)
throws java.lang.IllegalArgumentException
ArchiveDescriptorFactorygetJarURLFromURLEntry in interface ArchiveDescriptorFactoryurl - The URL to an entry within a JARentry - The entry that described the thing referred to by the URL relative to the JARjava.lang.IllegalArgumentException - Generally indicates a problem with malformed urls.public java.net.URL getURLFromPath(java.lang.String jarPath)
ArchiveDescriptorFactorygetURLFromPath in interface ArchiveDescriptorFactoryjarPath - The jar pathCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.