public interface Data
Modifier and Type | Interface and Description |
---|---|
static class |
Data.ByteData
Wraps a byte[] array as a Data object.
|
static class |
Data.FileData
Wraps a File as a Data object.
|
static class |
Data.StorageData
Wraps a Storage object as a Data object.
|
static class |
Data.StringData |
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.
|
void appendTo(OutputStream output) throws IOException
output
- The output stream to append to.IOException
long getSize() throws IOException
IOException