Class ArchiveBase

    • Field Detail

      • rootURL

        protected java.net.URL rootURL
      • descriptorLocation

        protected java.lang.String descriptorLocation
    • Constructor Detail

      • ArchiveBase

        public ArchiveBase()
        Default Constructor. If you use this constructor, this class will assume you set the rootURL and descriptorLocation prior to using it
      • ArchiveBase

        public ArchiveBase​(java.net.URL rootUrl,
                           java.lang.String descriptorLocation)
    • Method Detail

      • getDescriptorStream

        public java.io.InputStream getDescriptorStream()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getEntry

        public abstract java.io.InputStream getEntry​(java.lang.String entryPath)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getRootURL

        public java.net.URL getRootURL()
      • setRootURL

        public void setRootURL​(java.net.URL rootURL)
      • getDescriptorLocation

        public java.lang.String getDescriptorLocation()
      • setDescriptorLocation

        public void setDescriptorLocation​(java.lang.String descriptorLocation)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object