Modifier and Type | Method and Description |
---|---|
void |
add(InputStream data,
ZepStore.CompressOptions compress,
String name,
long modifiedTime)
Add a file to the ZepStore, which can be compressed or uncompressed.
|
void |
end()
Complete the ZepStore but do not close the underlying RandomStream.
|
public void end() throws IOException
IOException
public void add(InputStream data, ZepStore.CompressOptions compress, String name, long modifiedTime) throws IOException
data
- the data source.compress
- the CompressOptions for adding the data. If this is null then default compression is used. To specify no
compression use ZepStore.getNoCompressionOptions().name
- the name of the entry in the ZepStore.modifiedTime
- the modified time for the file.IOException