Data.ByteData, Data.FileData, Data.StorageData, Data.StringData| Constructor and Description |
|---|
StringData(String str) |
StringData(String str,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(OutputStream output)
Appends the data's content to an output stream.
|
long |
getSize()
Gets the size of the data content.
|
public StringData(String str)
public void appendTo(OutputStream output) throws IOException
DataappendTo in interface Dataoutput - The output stream to append to.IOExceptionpublic long getSize()
throws IOException
DatagetSize in interface DataIOException