Class ZipDataCompressor
- java.lang.Object
-
- com.atlassian.confluence.internal.util.io.ZipDataCompressor
-
- All Implemented Interfaces:
DataCompressor
@ParametersAreNonnullByDefault public class ZipDataCompressor extends Object implements DataCompressor
Zip compression/decompression implementation ofDataCompressor
.- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description ZipDataCompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
compress(byte[] uncompressed)
InputStreamSource
compress(InputStreamSource uncompressed)
byte[]
uncompress(byte[] compressed)
InputStreamSource
uncompress(InputStreamSource compressed)
-
-
-
Method Detail
-
uncompress
public InputStreamSource uncompress(InputStreamSource compressed)
- Specified by:
uncompress
in interfaceDataCompressor
-
compress
public InputStreamSource compress(InputStreamSource uncompressed)
- Specified by:
compress
in interfaceDataCompressor
-
uncompress
public byte[] uncompress(byte[] compressed)
- Specified by:
uncompress
in interfaceDataCompressor
-
compress
public byte[] compress(byte[] uncompressed)
- Specified by:
compress
in interfaceDataCompressor
-
-