Interface ArchiveDescriptorFactory


public interface ArchiveDescriptorFactory
Contract for building ArchiveDescriptor instances. Generally, only the buildArchiveDescriptor(URL) form should be used.
  • Method Details

    • buildArchiveDescriptor

      ArchiveDescriptor buildArchiveDescriptor(URL url)
      Build a descriptor of the archive indicated by the given url
      Parameters:
      url - The url to the archive
      Returns:
      The descriptor
    • buildArchiveDescriptor

      ArchiveDescriptor buildArchiveDescriptor(URL url, String path)
      Build a descriptor of the archive indicated by the path relative to the given url
      Parameters:
      url - The url to the archive
      path - The path within the given url that refers to the archive
      Returns:
      The descriptor