com.sshtools.j2ssh.transport.compression

Interface SshCompression

public interface SshCompression

Version:
$Revision: 1.18 $
Author:
$author$

Field Summary

static int
DEFLATER
static int
INFLATER

Method Summary

byte[]
compress(byte[] data, int start, int len)
void
init(int type, int level)
byte[]
uncompress(byte[] data, int start, int len)

Field Details

DEFLATER

public static final int DEFLATER
Field Value:
1

INFLATER

public static final int INFLATER
Field Value:
0

Method Details

compress

public byte[] compress(byte[] data,
                       int start,
                       int len)
Parameters:
data -
Returns:

init

public void init(int type,
                 int level)

uncompress

public byte[] uncompress(byte[] data,
                         int start,
                         int len)
Parameters:
data -
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.