com.sshtools.j2ssh.transport.compression
Class Zlib

java.lang.Object
  |
  +--com.sshtools.j2ssh.transport.compression.Zlib
All Implemented Interfaces:
SshCompression

public class Zlib
extends java.lang.Object
implements SshCompression

This class will implement the zlib compression for SSH

Version:
1.0
Author:
Lee David Painter ( lee@sshtools.com )

Constructor Summary
Zlib()
          Constructor for the Zlib object
 
Method Summary
 void init(int mode)
          Description of the Method
 byte[] transform(byte[] data)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zlib

public Zlib()
Constructor for the Zlib object

Method Detail

init

public void init(int mode)
Description of the Method

Specified by:
init in interface SshCompression
Parameters:
mode - Description of the Parameter

transform

public byte[] transform(byte[] data)
Description of the Method

Specified by:
transform in interface SshCompression
Parameters:
data - Description of the Parameter
Returns:
Description of the Return Value


Copyright © 2002 Sshtools.com. All Rights Reserved.