Class LibraryChunk.Entry

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      int packageId()
      The id assigned to the shared library at build time.
      java.lang.String packageName()
      The package name of the shared library.
      byte[] toByteArray()
      Converts this resource into an array of bytes representation.
      byte[] toByteArray​(boolean shrink)
      Converts this resource into an array of bytes representation.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • packageId

        public int packageId()
        The id assigned to the shared library at build time.
      • packageName

        public java.lang.String packageName()
        The package name of the shared library.
      • toByteArray

        public byte[] toByteArray()
                           throws java.io.IOException
        Description copied from interface: SerializableResource
        Converts this resource into an array of bytes representation.
        Specified by:
        toByteArray in interface SerializableResource
        Returns:
        An array of bytes representing this resource.
        Throws:
        java.io.IOException
      • toByteArray

        public byte[] toByteArray​(boolean shrink)
                           throws java.io.IOException
        Description copied from interface: SerializableResource
        Converts this resource into an array of bytes representation.
        Specified by:
        toByteArray in interface SerializableResource
        Parameters:
        shrink - True if, when converting to a byte array, this resource can modify the returned bytes in an effort to reduce the size.
        Returns:
        An array of bytes representing this resource.
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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