Class AbstractArchiveDescriptorFactory

    • Constructor Detail

      • AbstractArchiveDescriptorFactory

        public AbstractArchiveDescriptorFactory()
    • Method Detail

      • getJarURLFromURLEntry

        public getJarURLFromURLEntry​( url,
                                                  java.lang.String entry)
                                           throws java.lang.IllegalArgumentException
        Description copied from interface: ArchiveDescriptorFactory
        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.
        Specified by:
        getJarURLFromURLEntry in interface ArchiveDescriptorFactory
        url - The URL to an entry within a JAR
        entry - The entry that described the thing referred to by the URL relative to the JAR
        The URL to the JAR
        java.lang.IllegalArgumentException - Generally indicates a problem with malformed urls.