You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/08/06 13:41:00 UTC
svn commit: r1880638 - /commons/dev/test/test.html
Author: sebb
Date: Thu Aug 6 13:41:00 2020
New Revision: 1880638
URL: http://svn.apache.org/viewvc?rev=1880638&view=rev
Log:
Test - please ignore
Added:
commons/dev/test/test.html
Added: commons/dev/test/test.html
URL: http://svn.apache.org/viewvc/commons/dev/test/test.html?rev=1880638&view=auto
==============================================================================
--- commons/dev/test/test.html (added)
+++ commons/dev/test/test.html Thu Aug 6 13:41:00 2020
@@ -0,0 +1,551 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 01 August 2020
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="iso-8859-1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="author" content="Apache Commons Documentation Team" />
+ <meta name="Date-Revision-yyyymmdd" content="20200801" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Commons Net – Overview</title>
+
+ <link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" />
+ <link rel="stylesheet" href="./css/site.css" type="text/css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+ <script type="text/javascript" src="./js/jquery.min.js"></script>
+ <script type="text/javascript" src="./js/bootstrap.min.js"></script>
+ <script type="text/javascript" src="./js/prettify.min.js"></script>
+ <script type="text/javascript" src="./js/site.js"></script>
+
+
+ </head>
+
+ <body class="composite">
+ <a href="https://commons.apache.org/" id="bannerLeft" title="Apache Commons logo">
+ <img class="logo-left" src=" ./images/commons-logo.png
+" alt="Apache Commons logo"/>
+ </a>
+ <a href="index.html" id="bannerRight" title="Apache Commons Net™ logo">
+ <img class="logo-right" src=" images/net-logo-white.png
+" alt="Apache Commons Net™ logo"/>
+ </a>
+ <div class="clear"></div>
+
+ <div class="navbar">
+ <div class="navbar-inner">
+ <div class="container-fluid">
+ <a class="brand" href="https://commons.apache.org/proper/commons-net/">Apache Commons Net ™</a>
+ <ul class="nav">
+
+ <li id="publishDate">Last Published: 01 August 2020</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 3.7</li>
+ </ul>
+ <div class="pull-right"> <ul class="nav">
+ <li>
+ <a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon">
+ ApacheCon</a>
+ </li>
+ <li>
+ <a href="http://www.apache.org" class="externalLink" title="Apache">
+ Apache</a>
+ </li>
+ <li>
+ <a href="../../" title="Commons">
+ Commons</a>
+ </li>
+ </ul>
+</div>
+ </div>
+ </div>
+ </div>
+
+ <div class="container-fluid">
+ <table class="layout-table">
+ <tr>
+ <td class="sidebar">
+ <div class="well sidebar-nav">
+ <ul class="nav nav-list">
+ <li class="nav-header">Documentation</li>
+ <li class="none active">
+ <a href="index.html" title="Overview">
+ Overview</a>
+ </li>
+ <li class="none">
+ <a href="migration.html" title="Migration How-to">
+ Migration How-to</a>
+ </li>
+ <li class="none">
+ <a href="faq.html" title="FAQ">
+ FAQ</a>
+ </li>
+ <li class="none">
+ <a href="download_net.cgi" title="Download">
+ Download</a>
+ </li>
+ <li class="none">
+ <a href="javadocs/api-3.7/index.html" title="Javadoc 3.7 (Java 1.7)">
+ Javadoc 3.7 (Java 1.7)</a>
+ </li>
+ </ul>
+ <ul class="nav nav-list">
+ <li class="nav-header"><i class="icon-cog"></i>Development</li>
+ <li class="none">
+ <a href="code-standards.html" title="Coding Specifications">
+ Coding Specifications</a>
+ </li>
+ <li class="none">
+ <a href="mail-lists.html" title="Mailing lists">
+ Mailing lists</a>
+ </li>
+ <li class="none">
+ <a href="issue-tracking.html" title="Issue Tracking">
+ Issue Tracking</a>
+ </li>
+ <li class="none">
+ <a href="scm.html" title="SVN repository">
+ SVN repository</a>
+ </li>
+ </ul>
+ <ul class="nav nav-list">
+ <li class="nav-header"><i class="icon-info-sign"></i>Project Documentation</li>
+ <li class="expanded">
+ <a href="project-info.html" title="Project Information">
+ Project Information</a>
+ <ul>
+ <li class="none active">
+ <a href="index.html" title="About">
+ About</a>
+ </li>
+ <li class="none">
+ <a href="summary.html" title="Summary">
+ Summary</a>
+ </li>
+ <li class="none">
+ <a href="team.html" title="Team">
+ Team</a>
+ </li>
+ <li class="none">
+ <a href="scm.html" title="Source Code Management">
+ Source Code Management</a>
+ </li>
+ <li class="none">
+ <a href="issue-management.html" title="Issue Management">
+ Issue Management</a>
+ </li>
+ <li class="none">
+ <a href="mailing-lists.html" title="Mailing Lists">
+ Mailing Lists</a>
+ </li>
+ <li class="none">
+ <a href="dependency-info.html" title="Dependency Information">
+ Dependency Information</a>
+ </li>
+ <li class="none">
+ <a href="dependencies.html" title="Dependencies">
+ Dependencies</a>
+ </li>
+ <li class="none">
+ <a href="dependency-convergence.html" title="Dependency Convergence">
+ Dependency Convergence</a>
+ </li>
+ <li class="none">
+ <a href="ci-management.html" title="CI Management">
+ CI Management</a>
+ </li>
+ <li class="none">
+ <a href="distribution-management.html" title="Distribution Management">
+ Distribution Management</a>
+ </li>
+ </ul>
+ </li>
+ <li class="collapsed">
+ <a href="project-reports.html" title="Project Reports">
+ Project Reports</a>
+ </li>
+ </ul>
+ <ul class="nav nav-list">
+ <li class="nav-header">Commons</li>
+ <li class="none">
+ <a href="../../" title="Home">
+ Home</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/licenses/" class="externalLink" title="License">
+ License</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../components.html" title="Components">
+ Components</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../sandbox/index.html" title="Sandbox">
+ Sandbox</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../dormant/index.html" title="Dormant">
+ Dormant</a>
+ </li>
+ </ul>
+ <ul class="nav nav-list">
+ <li class="nav-header">General Information</li>
+ <li class="none">
+ <a href="../../security.html" title="Security">
+ Security</a>
+ </li>
+ <li class="none">
+ <a href="../../volunteering.html" title="Volunteering">
+ Volunteering</a>
+ </li>
+ <li class="none">
+ <a href="../../patches.html" title="Contributing Patches">
+ Contributing Patches</a>
+ </li>
+ <li class="none">
+ <a href="../../building.html" title="Building Components">
+ Building Components</a>
+ </li>
+ <li class="none">
+ <a href="../../commons-parent-pom.html" title="Commons Parent Pom">
+ Commons Parent Pom</a>
+ </li>
+ <li class="none">
+ <a href="../../build-plugin/index.html" title="Commons Build Plugin">
+ Commons Build Plugin</a>
+ </li>
+ <li class="none">
+ <a href="../../releases/index.html" title="Releasing Components">
+ Releasing Components</a>
+ </li>
+ <li class="none">
+ <a href="https://cwiki.apache.org/confluence/display/commons/FrontPage" class="externalLink" title="Wiki">
+ Wiki</a>
+ </li>
+ </ul>
+ <ul class="nav nav-list">
+ <li class="nav-header">ASF</li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">
+ How the ASF works</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">
+ Get Involved</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">
+ Developer Resources</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/policies/conduct.html" class="externalLink" title="Code of Conduct">
+ Code of Conduct</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">
+ Sponsorship</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
+ Thanks</a>
+ </li>
+ </ul>
+ </div>
+ <div id="poweredBy">
+ <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="builtBy">
+ <img class="builtBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
+ </a>
+ <a href="http://maven.apache.org/" title="Maven" class="builtBy">
+ <img class="builtBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
+ </a>
+ </div>
+ </td>
+ <td class="content">
+
+
+
+
+ <section>
+<h2><a name="Apache_Commons_Net"></a>Apache Commons Net</h2>
+
+<p>
+ Apache Commons Net™ library implements the client side of many basic
+ Internet protocols. The purpose of the library is to provide
+ fundamental protocol access, not higher-level
+ abstractions. Therefore, some of the design violates
+ object-oriented design principles. Our philosophy is to make the
+ global functionality of a protocol accessible (e.g., TFTP send
+ file and receive file) when possible, but also provide access to
+ the fundamental protocols where applicable so that the programmer
+ may construct his own custom implementations (e.g, the TFTP
+ packet classes and the TFTP packet send and receive methods are
+ exposed).
+ </p>
+ </section>
+ <section>
+<h2><a name="Features"></a>Features</h2>
+
+<p>
+ Supported protocols include:
+ </p>
+<ul>
+
+<li>FTP/FTPS</li>
+
+<li>FTP over HTTP (experimental)</li>
+
+<li>NNTP</li>
+
+<li>SMTP(S)</li>
+
+<li>POP3(S)</li>
+
+<li>IMAP(S)</li>
+
+<li>Telnet</li>
+
+<li>TFTP</li>
+
+<li>Finger</li>
+
+<li>Whois</li>
+
+<li>rexec/rcmd/rlogin</li>
+
+<li>Time (rdate) and Daytime</li>
+
+<li>Echo</li>
+
+<li>Discard</li>
+
+<li>NTP/SNTP</li>
+ </ul>
+
+ </section>
+ <section>
+<h2><a name="Background"></a>Background</h2>
+
+<p>
+ Apache Jakarta Commons Net started as a commercial Java library called
+ NetComponents, originally developed by ORO, Inc. in the early
+ days of Java. After its 1.3.8 release in 1998, the source code was
+ donated to the Apache Software Foundation and made available under
+ the Apache License. Since then, many programmers have contributed
+ to the continued development of Jakarta Commons Net. The current
+ version numbering scheme bears no relation to the old. In other
+ words, Jakarta Commons Net 1.0 succeeded and supplanted
+ NetComponents 1.3.8.
+ Apache Jakarta Commons is now an independent project and is called Apache Commons.
+ </p>
+ </section>
+ <section>
+<h2><a name="Examples"></a>Examples</h2>
+
+<p>
+ Commons NET includes several working sample applications that you can use.
+ Source files are included in the source (and binary) archives, and a compiled jar is provided.
+ </p>
+ To use one of the sample applications, ensure that the example and main jars are both in the same directory.
+ Then run the class as per the following example:
+
+<div>
+<pre>java -jar [path/]commons-net-examples-3.5.jar FTPClientExample [parameters]</pre></div>
+ This uses the helper application which supports shorthand class names.
+ <br />
+ Alternatively, ensure that the example and main jars are on the classpath.
+ Then invoke the class directly, for example:
+
+<div>
+<pre>java -cp commons-net-examples-3.5.jar;commons-net-3.5.jar examples/ftp/FTPClientExample [parameters]</pre></div>
+
+ <section>
+<h3><a name="FTP_.28package:_examples.2Fftp.29"></a>FTP (package: examples/ftp)</h3>
+
+<ul>
+
+<li><a href="examples/ftp/FTPClientExample.java">FTPClientExample</a>
+ demonstrates file download and upload, LIST, MLST etc over FTP(S) and FTP over HTTP
+ </li>
+
+<li><a href="examples/ftp/ServerToServerFTP.java">ServerToServerFTP</a>
+ This program arranges a server to server file transfer that transfers a file from host1 to host2.
+ </li>
+
+<li><a href="examples/ftp/TFTPExample.java">TFTPExample</a>
+ This is an example of a simple Java tftp client
+ </li>
+ </ul>
+ </section>
+
+ <section>
+<h3><a name="MAIL_.28package:_examples.2Fmail.29"></a>MAIL (package: examples/mail)</h3>
+
+<ul>
+
+<li><a href="examples/mail/IMAPMail.java">IMAPMail</a>
+ This is an example program demonstrating how to use the IMAP[S]Client class.
+ </li>
+
+<li><a href="examples/mail/POP3Mail.java">POP3Mail</a>
+ This is an example program demonstrating how to use the POP3[S]Client class.
+ </li>
+
+<li><a href="examples/mail/SMTPMail.java">SMTPMail</a>
+ This is an example program demonstrating how to use the SMTP[S]Client class.
+ </li>
+ </ul>
+ </section>
+
+ <section>
+<h3><a name="NNTP_.28package:_examples.2Fnntp.29"></a>NNTP (package: examples/nntp)</h3>
+
+<ul>
+
+<li><a href="examples/nntp/ArticleReader.java">ArticleReader</a>
+ Simple class showing one way to read an article header and body.
+ </li>
+
+<li><a href="examples/nntp/ExtendedNNTPOps.java">ExtendedNNTPOps</a>
+ Simple class showing some of the extended commands (AUTH, XOVER, LIST ACTIVE)
+ </li>
+
+<li><a href="examples/nntp/ListNewsgroups.java">ListNewsgroups</a>
+ This is a simple example using the NNTP package to approximate the
+ Unix newsgroups command. It connects to the specified news
+ server and issues fetches the list of newsgroups stored by the server.
+ On servers that store a lot of newsgroups, this command can take a very
+ long time (listing upwards of 30,000 groups).
+ </li>
+
+<li><a href="examples/nntp/MessageThreading.java">MessageThreading</a>
+ Sample program demonstrating the use of article iteration and threading.
+ </li>
+
+<li><a href="examples/nntp/PostMessage.java">PostMessage</a>
+ This is an example program using the NNTP package to post an article to the specified newsgroup(s).
+ It prompts you for header information and a filename to post.
+ </li>
+ </ul>
+ </section>
+
+ <section>
+<h3><a name="NTP_.28package:_examples.2Fntp.29"></a>NTP (package: examples/ntp)</h3>
+
+<ul>
+
+<li><a href="examples/ntp/NTPClient.java">NTPClient</a>
+ This is an example program demonstrating how to use the NTPUDPClient
+ class. This program sends a Datagram client request packet to a
+ Network time Protocol (NTP) service port on a specified server,
+ retrieves the time, and prints it to standard output along with
+ the fields from the NTP message header (e.g. stratum level, reference id,
+ poll interval, root delay, mode, ...)
+ </li>
+
+<li><a href="examples/ntp/TimeClient.java">TimeClient</a>
+ This is an example program demonstrating how to use the TimeTCPClient
+ and TimeUDPClient classes.
+ This program connects to the default time service port of a
+ specified server, retrieves the time, and prints it to standard output.
+ </li>
+ </ul>
+ </section>
+
+ <section>
+<h3><a name="TELNET_.28package:_examples.2Ftelnet.29"></a>TELNET (package: examples/telnet)</h3>
+
+<ul>
+
+<li><a href="examples/telnet/TelnetClientExample.java">TelnetClientExample</a>
+ This is a simple example of use of TelnetClient.
+ </li>
+
+<li><a href="examples/telnet/WeatherTelnet.java">WeatherTelnet</a>
+ This is an example of a trivial use of the TelnetClient class.
+ It connects to the weather server at the University of Michigan,
+ um-weather.sprl.umich.edu port 3000, and allows the user to interact
+ with the server via standard input.
+ </li>
+ </ul>
+ </section>
+
+ <section>
+<h3><a name="Unix_utilities_.28package:_examples.2Funix.29"></a>Unix utilities (package: examples/unix)</h3>
+
+<ul>
+
+<li><a href="examples/unix/chargen.java">chargen</a>
+ This is a simple example of use of chargen.
+ </li>
+
+<li><a href="examples/unix/daytime.java">daytime</a>
+ This is a simple example of use of daytime.
+ </li>
+
+<li><a href="examples/unix/echo.java">echo</a>
+ This is a simple example of use of echo.
+ </li>
+
+<li><a href="examples/unix/finger.java">finger</a>
+ This is a simple example of use of finger.
+ </li>
+
+<li><a href="examples/unix/fwhois.java">fwhois</a>
+ This is a simple example of use of fwhois.
+ </li>
+
+<li><a href="examples/unix/rdate.java">rdate</a>
+ This is a simple example of use of rdate.
+ </li>
+
+<li><a href="examples/unix/rexec.java">rexec</a>
+ This is a simple example of use of rexec.
+ </li>
+
+<li><a href="examples/unix/rlogin.java">rlogin</a>
+ This is a simple example of use of rlogin.
+ </li>
+
+<li><a href="examples/unix/rshell.java">rshell</a>
+ This is a simple example of use of rshell.
+ </li>
+ </ul>
+ </section>
+
+ </section>
+ <section>
+<h2><a name="Further_Information"></a>Further Information</h2>
+
+<p>
+ For more info, see the Javadoc, or look at some of the following articles:
+ </p>
+<ul>
+
+<li><a class="externalLink" href="http://www.informit.com/guides/content.asp?g=java&seqNum=40">http://www.informit.com/guides/content.asp?g=java&seqNum=40</a>Jakarta Commons - Net Class Library</li>
+
+<li><a class="externalLink" href="http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html?page=3">http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html?page=3</a>Using the Jakarta Commons, Part 1</li>
+
+<li><a class="externalLink" href="http://safari.phptr.com/0131478303/ch04">http://safari.phptr.com/0131478303/ch04</a>Apache Jakarta Commons: Reusable Java Components</li>
+ </ul>
+
+ </section>
+
+
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="footer">
+ <p>Copyright © 2001-2020
+ <a href="https://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.</p>
+
+<div class="center">Apache Commons, Apache Commons Net, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
+ All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+ </div>
+ </body>
+
+</html>