class FileArchiveData extends java.lang.Object implements ArchiveData
| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
file
the file, that should be used as archive data.
|
| Constructor and Description |
|---|
FileArchiveData(java.io.File file)
Created the archive data with the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
createInputStream()
creates an input stream, which contains the data.
|
long |
getSize() |
FileArchiveData(java.io.File file)
file - the file should be usedpublic java.io.InputStream createInputStream()
throws java.io.FileNotFoundException
ArchiveDatacreateInputStream in interface ArchiveDatajava.io.FileNotFoundExceptionpublic long getSize()
getSize in interface ArchiveData