public static class StringPoolChunk.StringPoolStyle extends java.lang.Object implements SerializableResource
StringPoolChunk.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
byte[] |
toByteArray()
Converts this resource into an array of bytes representation.
|
byte[] |
toByteArray(boolean shrink)
Converts this resource into an array of bytes representation.
|
java.lang.String |
toString()
Returns a brief description of the contents of this style.
|
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.Objectpublic java.lang.String toString()
"StringPoolStyle{spans=[StringPoolSpan{foo, start=0, stop=5}, ...]}"toString in class java.lang.Object