net.ssh.jsch
Interface CompressionInterface

All Known Implementing Classes:
Compression

public interface CompressionInterface


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

static final int INFLATER
See Also:
Constant Field Values

DEFLATER

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

init

void init(int type,
          int level)

compress

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

uncompress

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