net.ssh.jsch.jcraft
Class Compression
java.lang.Object
net.ssh.jsch.jcraft.Compression
- All Implemented Interfaces:
- CompressionInterface
public class Compression
- extends java.lang.Object
- implements CompressionInterface
Method Summary |
int |
compress(byte[] buf,
int start,
int len)
|
void |
init(int type,
int level)
|
byte[] |
uncompress(byte[] buffer,
int start,
int[] length)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compression
public Compression()
init
public void init(int type,
int level)
- Specified by:
init
in interface CompressionInterface
compress
public int compress(byte[] buf,
int start,
int len)
- Specified by:
compress
in interface CompressionInterface
uncompress
public byte[] uncompress(byte[] buffer,
int start,
int[] length)
- Specified by:
uncompress
in interface CompressionInterface