|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pl.psnc.dl.ege.utils.ZipIOResolver
public class ZipIOResolver
Recovers data from ZIP input/output streams.
Constructor Summary | |
---|---|
ZipIOResolver()
Constructor : level of compression is 1 by default. |
|
ZipIOResolver(int level)
Constructor with parameter of level of ZIP compression. |
Method Summary | |
---|---|
void |
compressData(java.io.File sourceDir,
java.io.OutputStream os)
Method should be responsible for compressing output data received from any of the EGE operations. |
void |
decompressStream(java.io.InputStream is,
java.io.File destDir)
Method should decompress stream of input data and save it to selected directory. |
int |
getLevel()
Returns level of ZIP compression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipIOResolver()
public ZipIOResolver(int level)
level
- Method Detail |
---|
public void compressData(java.io.File sourceDir, java.io.OutputStream os) throws java.io.IOException
IOResolver
compressData
in interface IOResolver
java.io.IOException
public void decompressStream(java.io.InputStream is, java.io.File destDir) throws java.io.IOException
IOResolver
decompressStream
in interface IOResolver
java.io.IOException
public int getLevel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |