protected static class LibraryChunk.Entry extends java.lang.Object implements SerializableResource
| Modifier and Type | Method and 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.
|
public int packageId()
public java.lang.String packageName()
public byte[] toByteArray()
throws java.io.IOException
SerializableResourcetoByteArray in interface SerializableResourcejava.io.IOExceptionpublic byte[] toByteArray(boolean shrink)
throws java.io.IOException
SerializableResourcetoByteArray in interface SerializableResourceshrink - True if, when converting to a byte array, this resource can modify the returned
bytes in an effort to reduce the size.java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object