Class JrtfsCodeBase.JrtfsCodebaseEntry

    • Constructor Detail

      • JrtfsCodebaseEntry

        public JrtfsCodebaseEntry​(java.nio.file.Path next,
                                  java.nio.file.Path root,
                                  JrtfsCodeBase codebase)
    • Method Detail

      • getNumBytes

        public int getNumBytes()
        Description copied from interface: ICodeBaseEntry
        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

        public java.io.InputStream openResource()
                                         throws java.io.IOException
        Description copied from interface: ICodeBaseEntry
        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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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