class StringArchiveData extends java.lang.Object implements ArchiveData
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
buf
the file, that should be used as archive data.
|
| Constructor and Description |
|---|
StringArchiveData(java.lang.String content)
Created the archive data with the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
createInputStream()
creates an input stream, which contains the data.
|
long |
getSize() |
StringArchiveData(java.lang.String content)
content - the string should be usedpublic java.io.InputStream createInputStream()
ArchiveDatacreateInputStream in interface ArchiveDatapublic long getSize()
getSize in interface ArchiveData