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
Data
appendTo
in interface Data
output
- The output stream to append to.IOException
public long getSize() throws IOException
Data
getSize
in interface Data
IOException