com.jcraft.jsch
Interface Compression

All Known Implementing Classes:
Compression

public interface Compression


Field Summary
static int DEFLATER
           
static int INFLATER
           
 
Method Summary
 int compress(byte[] buf, int start, int len)
           
 void init(int type, int level)
           
 byte[] uncompress(byte[] buf, int start, int[] len)
           
 

Field Detail

INFLATER

public static final int INFLATER
See Also:
Constant Field Values

DEFLATER

public static final int DEFLATER
See Also:
Constant Field Values
Method Detail

init

public void init(int type,
                 int level)

compress

public int compress(byte[] buf,
                    int start,
                    int len)

uncompress

public byte[] uncompress(byte[] buf,
                         int start,
                         int[] len)