~ubuntu-branches/ubuntu/trusty/jsch/trusty-proposed

« back to all changes in this revision

Viewing changes to examples/Compression.java

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-01-06 10:50:04 UTC
  • mfrom: (4.2.1 experimental) (6.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140106105004-9al5p968hmaaj78t
Tags: 0.1.50-1ubuntu1
* Resync with Debian unstable.
* Drop dependency on libjzlib-java for continued main inclusion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
 
2
/**
 
3
 * This program will demonstrate the packet compression.
 
4
 *   $ CLASSPATH=.:../build javac Compression.java
 
5
 *   $ CLASSPATH=.:../build java Compression
 
6
 * You will be asked username, hostname and passwd. 
 
7
 * If everything works fine, you will get the shell prompt. 
 
8
 * In this program, all data from sshd server to jsch will be compressed.
 
9
 *
 
10
 */
2
11
import com.jcraft.jsch.*;
3
12
import java.awt.*;
4
13
import javax.swing.*;