Interface ICodeBaseEntry

    • Method Detail

      • getResourceName

        java.lang.String getResourceName()
        Get the name of the resource.
        Returns:
        the name of the resource
      • getNumBytes

        int getNumBytes()
        Get the number of bytes in the resource. Returns <0 if the number of bytes is not known.
        Returns:
        number of bytes in the resource, or <0 if not known.
      • openResource

        java.io.InputStream openResource()
                                  throws java.io.IOException
        Open an input stream reading from the resource.
        Returns:
        InputStream reading from the resource.
        Throws:
        java.io.IOException - if an error occurs reading from the resource
      • getCodeBase

        ICodeBase getCodeBase()
        Get the codebase this codebase entry belongs to.
        Returns:
        the codebase this codebase entry belongs to
      • overrideResourceName

        void overrideResourceName​(java.lang.String resourceName)
        Override the resource name of this codebase entry.
        Parameters:
        resourceName - the new resource name