Package com.jcraft.jsch.jzlib
Class Compression
java.lang.Object
com.jcraft.jsch.jzlib.Compression
- All Implemented Interfaces:
Compression
-
Field Summary
Fields inherited from interface com.jcraft.jsch.Compression
DEFLATER, INFLATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]compress(byte[] buf, int start, int[] len) voidinit(int type, int level) byte[]uncompress(byte[] buffer, int start, int[] length)
-
Constructor Details
-
Compression
public Compression()
-
-
Method Details
-
init
- Specified by:
initin interfaceCompression- Throws:
Exception
-
compress
public byte[] compress(byte[] buf, int start, int[] len) - Specified by:
compressin interfaceCompression
-
uncompress
public byte[] uncompress(byte[] buffer, int start, int[] length) - Specified by:
uncompressin interfaceCompression
-