|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.util.ZipCompressionStrategy
de.unikassel.android.sdcframework.util.JarCompressionStrategy
public class JarCompressionStrategy
The compression strategy to create JAR archives.
Constructor Summary | |
---|---|
JarCompressionStrategy()
Constructor |
|
JarCompressionStrategy(boolean deflated)
Constructor |
Method Summary | |
---|---|
protected ZipEntry |
createArchiveEntry(String file)
Does create an archive entry for the compressed file |
protected ZipOutputStream |
createDeflaterOutPutStream(BufferedOutputStream out)
Does create the deflater output stream |
String |
getArchiveExtension()
Getter for an archive file extension of this strategy |
Methods inherited from class de.unikassel.android.sdcframework.util.ZipCompressionStrategy |
---|
compress, getMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarCompressionStrategy()
public JarCompressionStrategy(boolean deflated)
deflated
- flag for archive content compression ( true for compression )Method Detail |
---|
protected ZipEntry createArchiveEntry(String file)
ZipCompressionStrategy
createArchiveEntry
in class ZipCompressionStrategy
file
- the file name and path
protected ZipOutputStream createDeflaterOutPutStream(BufferedOutputStream out) throws IOException
ZipCompressionStrategy
createDeflaterOutPutStream
in class ZipCompressionStrategy
out
- the buffered output stream to wrap
IOException
public String getArchiveExtension()
CompressionStrategy
getArchiveExtension
in interface CompressionStrategy
getArchiveExtension
in class ZipCompressionStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |