Skip to contentPackage: ArchiveData
ArchiveData
Coverage
      1: package archive;
2: 
3: import java.io.IOException;
4: import java.io.InputStream;
5: 
6: /**
7:  * Provides the data for an archive file.
8:  * 
9:  * @author max
10:  *
11:  */
12: public interface ArchiveData {
13: 
14:         /**
15:          * creates an input stream, which contains the data.
16:          * 
17:          * @return the input stream
18:          * @throws IOException
19:          *             if the stream could no be created
20:          */
21:         InputStream createInputStream() throws IOException;
22: 
23:         /**
24:          * @return the size of the data
25:          */
26:         long getSize();
27: }