public interface LongString
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get the content as a byte array.
|
java.io.DataInputStream |
getStream()
Get the content stream.
|
long |
length() |
java.lang.String |
toString()
Get the content as a String.
|
static final long MAX_LENGTH
long length()
LongString in bytes >= 0 <= MAX_LENGTHjava.io.DataInputStream getStream()
throws java.io.IOException
LongStringjava.io.IOException - if an error is encounteredbyte[] getBytes()
LongString.
Repeated calls to this function may return the same array.
This function will fail if this.length() > Integer.MAX_VALUE,
throwing an IllegalStateException.LongStringjava.lang.String toString()
toString in class java.lang.ObjectLongString as a string