commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject cvs commit: jakarta-commons-sandbox/net/src/java/examples IOUtil.java PrintCommandListener.java chargen.java daytime.java echo.java finger.java ftp.java fwhois.java mail.java messages.java newsgroups.java post.java rdate.java rexec.java rlogin.java rshell.java server2serverFTP.java tftp.java weatherTelnet.java
Date Wed, 03 Apr 2002 04:36:04 GMT
brekke      02/04/02 20:36:04

  Modified:    net/src/java/examples IOUtil.java PrintCommandListener.java
                        chargen.java daytime.java echo.java finger.java
                        ftp.java fwhois.java mail.java messages.java
                        newsgroups.java post.java rdate.java rexec.java
                        rlogin.java rshell.java server2serverFTP.java
                        tftp.java weatherTelnet.java
  Log:
  Example classes now in a package called examples.
  
  Revision  Changes    Path
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/IOUtil.java
  
  Index: IOUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/IOUtil.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IOUtil.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ IOUtil.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,7 +56,7 @@
   
   import java.io.*;
   
  -import com.oroinc.io.*;
  +import org.apache.commons.io.*;
   
   /***
    * This is a utility class providing a reader/writer capability required
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/PrintCommandListener.java
  
  Index: PrintCommandListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/PrintCommandListener.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PrintCommandListener.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ PrintCommandListener.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,7 +56,7 @@
   
   import java.io.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is a support class for some of the example programs.  It is
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/chargen.java
  
  Index: chargen.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/chargen.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- chargen.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ chargen.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is an example program demonstrating how to use the CharGenTCPClient
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/daytime.java
  
  Index: daytime.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/daytime.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- daytime.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ daytime.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is an example program demonstrating how to use the DaytimeTCP
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/echo.java
  
  Index: echo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/echo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- echo.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ echo.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is an example program demonstrating how to use the EchoTCPClient
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/finger.java
  
  Index: finger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/finger.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- finger.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ finger.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is an example of how you would implement the finger command
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/ftp.java
  
  Index: ftp.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/ftp.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ftp.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ ftp.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,7 +56,7 @@
   
   import java.io.*;
   
  -import com.oroinc.net.ftp.*;
  +import org.apache.commons.net.ftp.*;
   
   /***
    * This is an example program demonstrating how to use the FTPClient class.
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/fwhois.java
  
  Index: fwhois.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/fwhois.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fwhois.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ fwhois.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is an example of how you would implement the Linux fwhois command
  
  
  
  1.3       +4 -2      jakarta-commons-sandbox/net/src/java/examples/mail.java
  
  Index: mail.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/mail.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mail.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ mail.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,8 +57,8 @@
   import java.io.*;
   import java.util.*;
   
  -import com.oroinc.net.smtp.*;
  -import com.oroinc.io.*;
  +import org.apache.commons.net.smtp.*;
  +import org.apache.commons.io.*;
   
   /***
    * This is an example program using the SMTP package to send a message
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/messages.java
  
  Index: messages.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/messages.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- messages.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ messages.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,7 +56,7 @@
   
   import java.io.*;
   
  -import com.oroinc.net.pop3.*;
  +import org.apache.commons.net.pop3.*;
   
   /***
    * This is an example program demonstrating how to use the POP3Client class.
  
  
  
  1.3       +4 -2      jakarta-commons-sandbox/net/src/java/examples/newsgroups.java
  
  Index: newsgroups.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/newsgroups.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- newsgroups.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ newsgroups.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,8 +56,8 @@
   
   import java.io.*;
   
  -import com.oroinc.net.nntp.*;
  -import com.oroinc.io.*;
  +import org.apache.commons.net.nntp.*;
  +import org.apache.commons.io.*;
   
   /***
    * This is a trivial example using the NNTP package to approximate the
  
  
  
  1.3       +4 -2      jakarta-commons-sandbox/net/src/java/examples/post.java
  
  Index: post.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/post.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- post.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ post.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,8 +56,8 @@
   
   import java.io.*;
   
  -import com.oroinc.net.nntp.*;
  -import com.oroinc.io.*;
  +import org.apache.commons.net.nntp.*;
  +import org.apache.commons.io.*;
   
   /***
    * This is an example program using the NNTP package to post an article
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/rdate.java
  
  Index: rdate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/rdate.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- rdate.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ rdate.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.*;
  +import org.apache.commons.net.*;
   
   /***
    * This is an example program demonstrating how to use the TimeTCPClient
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/rexec.java
  
  Index: rexec.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/rexec.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- rexec.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ rexec.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,7 +56,7 @@
   
   import java.io.*;
   
  -import com.oroinc.net.bsd.*;
  +import org.apache.commons.net.bsd.*;
   
   
   /***
  
  
  
  1.3       +4 -2      jakarta-commons-sandbox/net/src/java/examples/rlogin.java
  
  Index: rlogin.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/rlogin.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- rlogin.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ rlogin.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,8 +56,8 @@
   
   import java.io.*;
   
  -import com.oroinc.io.*;
  -import com.oroinc.net.bsd.*;
  +import org.apache.commons.io.*;
  +import org.apache.commons.net.bsd.*;
   
   
   /***
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/rshell.java
  
  Index: rshell.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/rshell.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- rshell.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ rshell.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,7 +56,7 @@
   
   import java.io.*;
   
  -import com.oroinc.net.bsd.*;
  +import org.apache.commons.net.bsd.*;
   
   
   /***
  
  
  
  1.3       +4 -2      jakarta-commons-sandbox/net/src/java/examples/server2serverFTP.java
  
  Index: server2serverFTP.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/server2serverFTP.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- server2serverFTP.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ server2serverFTP.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,8 +57,8 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.ProtocolCommandListener;
  -import com.oroinc.net.ftp.*;
  +import org.apache.commons.net.ProtocolCommandListener;
  +import org.apache.commons.net.ftp.*;
   
   /***
    * This is an example program demonstrating how to use the FTPClient class.
  
  
  
  1.3       +3 -1      jakarta-commons-sandbox/net/src/java/examples/tftp.java
  
  Index: tftp.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/tftp.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- tftp.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ tftp.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -55,7 +57,7 @@
   import java.io.*;
   import java.net.*;
   
  -import com.oroinc.net.tftp.*;
  +import org.apache.commons.net.tftp.*;
   
   /***
    * This is an example of a simple Java tftp client using NetComponents.
  
  
  
  1.3       +4 -2      jakarta-commons-sandbox/net/src/java/examples/weatherTelnet.java
  
  Index: weatherTelnet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/src/java/examples/weatherTelnet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- weatherTelnet.java	3 Apr 2002 03:11:40 -0000	1.2
  +++ weatherTelnet.java	3 Apr 2002 04:36:04 -0000	1.3
  @@ -1,3 +1,5 @@
  +package examples;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -54,8 +56,8 @@
   
   import java.io.*;
   
  -import com.oroinc.net.telnet.*;
  -import com.oroinc.io.*;
  +import org.apache.commons.net.telnet.*;
  +import org.apache.commons.io.*;
   
   /***
    * This is an example of a trivial use of the TelnetClient class.
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message