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 2015/01/18 18:10:06 UTC
svn commit: r1652801 [2/2] - in /commons/proper/net/trunk/src/main/java:
examples/ examples/ftp/ examples/mail/ examples/nntp/ examples/ntp/
examples/telnet/ examples/unix/ examples/util/ org/apache/commons/net/
org/apache/commons/net/bsd/ org/apache/c...
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java Sun Jan 18 17:10:05 2015
@@ -276,7 +276,6 @@ import org.apache.commons.net.io.Util;
* The implementation currently uses a {@link CopyStreamListener} which is passed to the
* {@link Util#copyStream(InputStream, OutputStream, int, long, CopyStreamListener, boolean)}
* method, so the timing is partially dependent on how long each block transfer takes.
- * <p>
*
* @see #FTP_SYSTEM_TYPE
* @see #SYSTEM_TYPE_PROPERTIES
@@ -734,7 +733,7 @@ implements Configurable
* a REST command is issued to the server with the offset as
* an argument before establishing the data connection. Active
* mode connections also cause a local PORT command to be issued.
- * <p>
+ *
* @param command The int representation of the FTP command to send.
* @param arg The arguments to the FTP command. If this parameter is
* set to null, then the command is sent with no argument.
@@ -760,7 +759,7 @@ implements Configurable
* a REST command is issued to the server with the offset as
* an argument before establishing the data connection. Active
* mode connections also cause a local PORT command to be issued.
- * <p>
+ *
* @param command The int representation of the FTP command to send.
* @param arg The arguments to the FTP command. If this parameter is
* set to null, then the command is sent with no argument.
@@ -785,7 +784,7 @@ implements Configurable
* a REST command is issued to the server with the offset as
* an argument before establishing the data connection. Active
* mode connections also cause a local PORT command to be issued.
- * <p>
+ *
* @param command The text representation of the FTP command to send.
* @param arg The arguments to the FTP command. If this parameter is
* set to null, then the command is sent with no argument.
@@ -1003,7 +1002,7 @@ implements Configurable
/**
* Closes the connection to the FTP server and restores
* connection parameters to the default values.
- * <p>
+ *
* @exception IOException If an error occurs while disconnecting.
*/
@Override
@@ -1020,7 +1019,7 @@ implements Configurable
* connection is attached. The default is for verification to be
* enabled. You may set this value at any time, whether the
* FTPClient is currently connected or not.
- * <p>
+ *
* @param enable True to enable verification, false to disable verification.
*/
public void setRemoteVerificationEnabled(boolean enable)
@@ -1032,7 +1031,7 @@ implements Configurable
* Return whether or not verification of the remote host participating
* in data connections is enabled. The default behavior is for
* verification to be enabled.
- * <p>
+ *
* @return True if verification is enabled, false if not.
*/
public boolean isRemoteVerificationEnabled()
@@ -1042,7 +1041,7 @@ implements Configurable
/**
* Login to the FTP server using the provided username and password.
- * <p>
+ *
* @param username The username to login under.
* @param password The password to use.
* @return True if successfully completed, false if not.
@@ -1077,7 +1076,7 @@ implements Configurable
* Login to the FTP server using the provided username, password,
* and account. If no account is required by the server, only
* the username and password, the account information is not used.
- * <p>
+ *
* @param username The username to login under.
* @param password The password to use.
* @param account The account to use.
@@ -1120,7 +1119,7 @@ implements Configurable
/**
* Logout of the FTP server by sending the QUIT command.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1138,7 +1137,7 @@ implements Configurable
/**
* Change the current working directory of the FTP session.
- * <p>
+ *
* @param pathname The new current working directory.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -1157,7 +1156,7 @@ implements Configurable
/**
* Change to the parent directory of the current working directory.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1175,7 +1174,7 @@ implements Configurable
/**
* Issue the FTP SMNT command.
- * <p>
+ *
* @param pathname The pathname to mount.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -1194,7 +1193,7 @@ implements Configurable
/**
* Reinitialize the FTP session. Not all FTP servers support this
* command, which issues the FTP REIN command.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1275,7 +1274,7 @@ implements Configurable
* must remember to call
* {@link #enterLocalActiveMode enterLocalActiveMode() } if you
* wish to return to the normal data connection mode.
- * <p>
+ *
* @param host The passive mode server accepting connections for data
* transfers.
* @param port The passive mode server's data port.
@@ -1313,7 +1312,7 @@ implements Configurable
* must remember to call
* {@link #enterLocalActiveMode enterLocalActiveMode() } if you
* wish to return to the normal data connection mode.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1344,7 +1343,7 @@ implements Configurable
* This is because FTPClient sends a PASV command to the server only
* just before opening a data connection, and not when you call
* {@link #enterLocalPassiveMode enterLocalPassiveMode()}.
- * <p>
+ *
* @return The passive host name if in passive mode, otherwise null.
*/
public String getPassiveHost()
@@ -1360,7 +1359,7 @@ implements Configurable
* This is because FTPClient sends a PASV command to the server only
* just before opening a data connection, and not when you call
* {@link #enterLocalPassiveMode enterLocalPassiveMode()}.
- * <p>
+ *
* @return The data port of the passive server. If not in passive
* mode, undefined.
*/
@@ -1373,7 +1372,7 @@ implements Configurable
/**
* Returns the current data connection mode (one of the
* <code> _DATA_CONNECTION_MODE </code> constants.
- * <p>
+ *
* @return The current data connection mode (one of the
* <code> _DATA_CONNECTION_MODE </code> constants.
*/
@@ -1384,7 +1383,7 @@ implements Configurable
/**
* Get the client port for active mode.
- * <p>
+ *
* @return The client port for active mode.
*/
private int getActivePort()
@@ -1406,7 +1405,7 @@ implements Configurable
/**
* Get the host address for active mode; allows the local address to be overridden.
- * <p>
+ *
* @return __activeExternalHost if non-null, else getLocalAddress()
* @see #setActiveExternalIPAddress(String)
*/
@@ -1428,7 +1427,7 @@ implements Configurable
* allows override of {@link #getHostAddress()}.
*
* Useful for FTP Client behind Firewall NAT.
- * <p>
+ *
* @return __reportActiveExternalHost if non-null, else getHostAddress();
*/
private InetAddress getReportHostAddress() {
@@ -1441,7 +1440,7 @@ implements Configurable
/**
* Set the client side port range in active mode.
- * <p>
+ *
* @param minPort The lowest available port (inclusive).
* @param maxPort The highest available port (inclusive).
* @since 2.2
@@ -1455,7 +1454,7 @@ implements Configurable
/**
* Set the external IP address in active mode.
* Useful when there are multiple network cards.
- * <p>
+ *
* @param ipAddress The external IP address of this machine.
* @throws UnknownHostException if the ipAddress cannot be resolved
* @since 2.2
@@ -1468,7 +1467,7 @@ implements Configurable
/**
* Set the local IP address to use in passive mode.
* Useful when there are multiple network cards.
- * <p>
+ *
* @param ipAddress The local IP address of this machine.
* @throws UnknownHostException if the ipAddress cannot be resolved
*/
@@ -1480,7 +1479,7 @@ implements Configurable
/**
* Set the local IP address to use in passive mode.
* Useful when there are multiple network cards.
- * <p>
+ *
* @param inetAddress The local IP address of this machine.
*/
public void setPassiveLocalIPAddress(InetAddress inetAddress)
@@ -1491,7 +1490,7 @@ implements Configurable
/**
* Set the local IP address in passive mode.
* Useful when there are multiple network cards.
- * <p>
+ *
* @return The local IP address in passive mode.
*/
public InetAddress getPassiveLocalIPAddress()
@@ -1502,7 +1501,7 @@ implements Configurable
/**
* Set the external IP address to report in EPRT/PORT commands in active mode.
* Useful when there are multiple network cards.
- * <p>
+ *
* @param ipAddress The external IP address of this machine.
* @throws UnknownHostException if the ipAddress cannot be resolved
* @since 3.1
@@ -1572,13 +1571,13 @@ implements Configurable
* <p>
* <b>N.B.</b> currently calling any connect method will reset the type to
* FTP.ASCII_FILE_TYPE and the formatOrByteSize to FTP.NON_PRINT_TEXT_FORMAT.
- * <p>
+ *
* @param fileType The <code> _FILE_TYPE </code> constant indcating the
* type of file.
* @param formatOrByteSize The format of the file (one of the
* <code>_FORMAT</code> constants. In the case of
* <code>LOCAL_FILE_TYPE</code>, the byte size.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1605,7 +1604,7 @@ implements Configurable
* Sets the file structure. The default structure is
* <code> FTP.FILE_STRUCTURE </code> if this method is never called
* or if a connect method is called.
- * <p>
+ *
* @param structure The structure of the file (one of the FTP class
* <code>_STRUCTURE</code> constants).
* @return True if successfully completed, false if not.
@@ -1632,7 +1631,7 @@ implements Configurable
* Sets the transfer mode. The default transfer mode
* <code> FTP.STREAM_TRANSFER_MODE </code> if this method is never called
* or if a connect method is called.
- * <p>
+ *
* @param mode The new transfer mode to use (one of the FTP class
* <code>_TRANSFER_MODE</code> constants).
* @return True if successfully completed, false if not.
@@ -1659,7 +1658,7 @@ implements Configurable
* Initiate a server to server file transfer. This method tells the
* server to which the client is connected to retrieve a given file from
* the other server.
- * <p>
+ *
* @param filename The name of the file to retrieve.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -1686,7 +1685,7 @@ implements Configurable
* the other server using the given filename. The other server must
* have had a <code> remoteRetrieve </code> issued to it by another
* FTPClient.
- * <p>
+ *
* @param filename The name to call the file that is to be stored.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -1713,7 +1712,7 @@ implements Configurable
* the other server using a unique filename based on the given filename.
* The other server must have had a <code> remoteRetrieve </code> issued
* to it by another FTPClient.
- * <p>
+ *
* @param filename The name on which to base the filename of the file
* that is to be stored.
* @return True if successfully completed, false if not.
@@ -1743,7 +1742,7 @@ implements Configurable
* to it by another FTPClient. Many FTP servers require that a base
* filename be given from which the unique filename can be derived. For
* those servers use the other version of <code> remoteStoreUnique</code>
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1768,10 +1767,10 @@ implements Configurable
* server to which the client is connected to append to a given file on
* the other server. The other server must have had a
* <code> remoteRetrieve </code> issued to it by another FTPClient.
- * <p>
+ *
* @param filename The name of the file to be appended to, or if the
* file does not exist, the name to call the file being stored.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1824,7 +1823,7 @@ implements Configurable
* System.exit(1);
* }
* </pre>
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -1983,7 +1982,7 @@ implements Configurable
* InputStream. If the current file type is ASCII, line separators in
* the file are transparently converted to the NETASCII format (i.e.,
* you should not attempt to create a special InputStream to do this).
- * <p>
+ *
* @param remote The name to give the remote file.
* @param local The local InputStream from which to read the file.
* @return True if successfully completed, false if not.
@@ -2022,7 +2021,7 @@ implements Configurable
* {@link #completePendingCommand completePendingCommand } and
* check its return value to verify success.</b>
* If this is not done, subsequent commands may behave unexpectedly.
- * <p>
+ *
* @param remote The name to give the remote file.
* @return An OutputStream through which the remote file can be written. If
* the data connection cannot be opened (e.g., the file does not
@@ -2047,7 +2046,7 @@ implements Configurable
* InputStream. If the current file type is ASCII, line separators in
* the file are transparently converted to the NETASCII format (i.e.,
* you should not attempt to create a special InputStream to do this).
- * <p>
+ *
* @param remote The name of the remote file.
* @param local The local InputStream from which to read the data to
* be appended to the remote file.
@@ -2086,7 +2085,7 @@ implements Configurable
* {@link #completePendingCommand completePendingCommand } and
* check its return value to verify success.</b>
* If this is not done, subsequent commands may behave unexpectedly.
- * <p>
+ *
* @param remote The name of the remote file.
* @return An OutputStream through which the remote file can be appended.
* If the data connection cannot be opened (e.g., the file does not
@@ -2112,7 +2111,7 @@ implements Configurable
* InputStream. If the current file type is ASCII, line separators in
* the file are transparently converted to the NETASCII format (i.e.,
* you should not attempt to create a special InputStream to do this).
- * <p>
+ *
* @param remote The name on which to base the unique name given to
* the remote file.
* @param local The local InputStream from which to read the file.
@@ -2153,7 +2152,7 @@ implements Configurable
* {@link #completePendingCommand completePendingCommand } and
* check its return value to verify success.</b>
* If this is not done, subsequent commands may behave unexpectedly.
- * <p>
+ *
* @param remote The name on which to base the unique name given to
* the remote file.
* @return An OutputStream through which the remote file can be written. If
@@ -2180,7 +2179,7 @@ implements Configurable
* InputStream. If the current file type is ASCII, line separators in
* the file are transparently converted to the NETASCII format (i.e.,
* you should not attempt to create a special InputStream to do this).
- * <p>
+ *
* @param local The local InputStream from which to read the file.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -2217,7 +2216,7 @@ implements Configurable
* {@link #completePendingCommand completePendingCommand } and
* check its return value to verify success.</b>
* If this is not done, subsequent commands may behave unexpectedly.
- * <p>
+ *
* @return An OutputStream through which the remote file can be written. If
* the data connection cannot be opened (e.g., the file does not
* exist), null is returned (in which case you may check the reply
@@ -2237,7 +2236,7 @@ implements Configurable
/**
* Reserve a number of bytes on the server for the next file transfer.
- * <p>
+ *
* @param bytes The number of bytes which the server should allocate.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -2401,7 +2400,7 @@ implements Configurable
/**
* Reserve space on the server for the next file transfer.
- * <p>
+ *
* @param bytes The number of bytes which the server should allocate.
* @param recordSize The size of a file record.
* @return True if successfully completed, false if not.
@@ -2424,7 +2423,7 @@ implements Configurable
* <p>
* Should only be used with commands that return replies on the
* command channel - do not use for LIST, NLST, MLSD etc.
- * <p>
+ *
* @param command The command to invoke
* @param params The parameters string, may be {@code null}
* @return True if successfully completed, false if not, in which case
@@ -2445,7 +2444,7 @@ implements Configurable
* <p>
* Should only be used with commands that return replies on the
* command channel - do not use for LIST, NLST, MLSD etc.
- * <p>
+ *
* @param command The command to invoke
* @param params The parameters string, may be {@code null}
* @return The array of replies, or {@code null} if the command failed, in which case
@@ -2532,7 +2531,7 @@ implements Configurable
* the REST comand for the stream transfer mode. However, most FTP
* servers support this. Any subsequent file transfer will start
* reading or writing the remote file from the indicated offset.
- * <p>
+ *
* @param offset The offset into the remote file at which to start the
* next file transfer.
* @return True if successfully completed, false if not.
@@ -2576,7 +2575,7 @@ implements Configurable
/**
* Fetches the restart offset.
- * <p>
+ *
* @return offset The offset into the remote file at which to start the
* next file transfer.
*/
@@ -2589,7 +2588,7 @@ implements Configurable
/**
* Renames a remote file.
- * <p>
+ *
* @param from The name of the remote file to rename.
* @param to The new name of the remote file.
* @return True if successfully completed, false if not.
@@ -2613,7 +2612,7 @@ implements Configurable
/**
* Abort a transfer in progress.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -2630,7 +2629,7 @@ implements Configurable
/**
* Deletes a file on the FTP server.
- * <p>
+ *
* @param pathname The pathname of the file to be deleted.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -2649,7 +2648,7 @@ implements Configurable
/**
* Removes a directory on the FTP server (if empty).
- * <p>
+ *
* @param pathname The pathname of the directory to remove.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -2670,7 +2669,7 @@ implements Configurable
* Creates a new subdirectory on the FTP server in the current directory
* (if a relative pathname is given) or where specified (if an absolute
* pathname is given).
- * <p>
+ *
* @param pathname The pathname of the directory to create.
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
@@ -2689,7 +2688,7 @@ implements Configurable
/**
* Returns the pathname of the current working directory.
- * <p>
+ *
* @return The pathname of the current working directory. If it cannot
* be obtained, returns null.
* @exception FTPConnectionClosedException
@@ -2776,7 +2775,7 @@ implements Configurable
/**
* Fetches the system help information from the server and returns the
* full string.
- * <p>
+ *
* @return The system help string obtained from the server. null if the
* information could not be obtained.
* @exception FTPConnectionClosedException
@@ -2822,7 +2821,7 @@ implements Configurable
/**
* Sends a NOOP command to the FTP server. This is useful for preventing
* server timeouts.
- * <p>
+ *
* @return True if successfully completed, false if not.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -2849,7 +2848,7 @@ implements Configurable
* returned. If the pathname corresponds
* to a file, only that file will be listed. The server may or may not
* expand glob expressions.
- * <p>
+ *
* @param pathname The file or directory to list.
* Warning: the server may treat a leading '-' as an
* option introducer. If so, try using an absolute path,
@@ -2905,7 +2904,7 @@ implements Configurable
* null is returned (the FTP server returned a 550 error No files found.).
* If the directory is not empty, an array of filenames in the directory is
* returned.
- * <p>
+ *
* @return The list of filenames contained in the current working
* directory. null if the list could not be obtained.
* If there are no filenames in the directory, a zero-length array
@@ -2939,7 +2938,7 @@ implements Configurable
* For older files, the output may only contain a date.
* If the server supports it, the MLSD command returns timestamps with a precision
* of seconds, and may include milliseconds. See {@link #mlistDir()}
- * <p>
+ *
* @param pathname The file or directory to list. Since the server may
* or may not expand glob expressions, using them here
* is not recommended and may well cause this method to
@@ -2998,7 +2997,7 @@ implements Configurable
* For older files, the output may only contain a date.
* If the server supports it, the MLSD command returns timestamps with a precision
* of seconds, and may include milliseconds. See {@link #mlistDir()}
- * <p>
+ *
* @return The list of file information contained in the current directory
* in the format determined by the autodetection mechanism.
* <p><b>
@@ -3066,7 +3065,7 @@ implements Configurable
* For older files, the output may only contain a date.
* If the server supports it, the MLSD command returns timestamps with a precision
* of seconds, and may include milliseconds. See {@link #mlistDir()}
- * <p>
+ *
* @return The list of directories contained in the current directory
* in the format determined by the autodetection mechanism.
*
@@ -3113,7 +3112,7 @@ implements Configurable
* For older files, the output may only contain a date.
* If the server supports it, the MLSD command returns timestamps with a precision
* of seconds, and may include milliseconds. See {@link #mlistDir()}
- * <p>
+ *
* @return The list of directories contained in the specified directory
* in the format determined by the autodetection mechanism.
*
@@ -3201,7 +3200,7 @@ implements Configurable
* This method differs from using the listFiles() methods in that
* expensive FTPFile objects are not created until needed which may be
* an advantage on large lists.
- * <p>
+ *
* <pre>
* FTPClient f=FTPClient();
* f.connect(server);
@@ -3437,7 +3436,7 @@ implements Configurable
/**
* Issue the FTP STAT command to the server.
- * <p>
+ *
* @return The status information returned by the server.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
@@ -3459,7 +3458,7 @@ implements Configurable
/**
* Issue the FTP STAT command to the server for a given pathname. This
* should produce a listing of the file or directory.
- * <p>
+ *
* @return The status information returned by the server.
* @exception FTPConnectionClosedException
* If the FTP server prematurely closes the connection as a result
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java Sun Jan 18 17:10:05 2015
@@ -104,7 +104,7 @@ public enum FTPCmd {
/**
* Retrieve the FTP protocol command string corresponding to a specified
* command code.
- * <p>
+ *
* @return The FTP protcol command string corresponding to a specified
* command code.
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCommand.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCommand.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCommand.java Sun Jan 18 17:10:05 2015
@@ -24,8 +24,7 @@ package org.apache.commons.net.ftp;
* of RFC 959. For those who think in terms of the actual FTP commands,
* a set of constants such as {@link #USER USER } are provided
* where the constant name is the same as the FTP command.
- * <p>
- * <p>
+ *
* @deprecated use {@link FTPCmd} instead
*/
@Deprecated
@@ -160,7 +159,7 @@ public final class FTPCommand
/**
* Retrieve the FTP protocol command string corresponding to a specified
* command code.
- * <p>
+ *
* @param command The command code.
* @return The FTP protcol command string corresponding to a specified
* command code.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPConnectionClosedException.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPConnectionClosedException.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPConnectionClosedException.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPConnectionClosedException.java Sun Jan 18 17:10:05 2015
@@ -26,8 +26,7 @@ import java.io.IOException;
* failed FTP command. This exception is derived from IOException and
* therefore may be caught either as an IOException or specifically as an
* FTPConnectionClosedException.
- * <p>
- * <p>
+ *
* @see FTP
* @see FTPClient
***/
@@ -45,7 +44,7 @@ public class FTPConnectionClosedExceptio
/***
* Constructs a FTPConnectionClosedException with a specified message.
- * <p>
+ *
* @param message The message explaining the reason for the exception.
***/
public FTPConnectionClosedException(String message)
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java Sun Jan 18 17:10:05 2015
@@ -25,8 +25,7 @@ import java.util.TimeZone;
/***
* The FTPFile class is used to represent information about files stored
* on an FTP server.
- * <p>
- * <p>
+ *
* @see FTPFileEntryParser
* @see FTPClient#listFiles
***/
@@ -108,7 +107,7 @@ public class FTPFile implements Serializ
/***
* Set the original FTP server raw listing from which the FTPFile was
* created.
- * <p>
+ *
* @param rawListing The raw FTP server listing.
***/
public void setRawListing(String rawListing)
@@ -118,7 +117,7 @@ public class FTPFile implements Serializ
/***
* Get the original FTP server raw listing used to initialize the FTPFile.
- * <p>
+ *
* @return The original FTP server raw listing used to initialize the
* FTPFile.
***/
@@ -130,7 +129,7 @@ public class FTPFile implements Serializ
/***
* Determine if the file is a directory.
- * <p>
+ *
* @return True if the file is of type <code>DIRECTORY_TYPE</code>, false if
* not.
***/
@@ -141,7 +140,7 @@ public class FTPFile implements Serializ
/***
* Determine if the file is a regular file.
- * <p>
+ *
* @return True if the file is of type <code>FILE_TYPE</code>, false if
* not.
***/
@@ -152,7 +151,7 @@ public class FTPFile implements Serializ
/***
* Determine if the file is a symbolic link.
- * <p>
+ *
* @return True if the file is of type <code>UNKNOWN_TYPE</code>, false if
* not.
***/
@@ -163,7 +162,7 @@ public class FTPFile implements Serializ
/***
* Determine if the type of the file is unknown.
- * <p>
+ *
* @return True if the file is of type <code>UNKNOWN_TYPE</code>, false if
* not.
***/
@@ -189,7 +188,7 @@ public class FTPFile implements Serializ
/***
* Set the type of the file (<code>DIRECTORY_TYPE</code>,
* <code>FILE_TYPE</code>, etc.).
- * <p>
+ *
* @param type The integer code representing the type of the file.
***/
public void setType(int type)
@@ -201,7 +200,7 @@ public class FTPFile implements Serializ
/***
* Return the type of the file (one of the <code>_TYPE</code> constants),
* e.g., if it is a directory, a regular file, or a symbolic link.
- * <p>
+ *
* @return The type of the file.
***/
public int getType()
@@ -212,7 +211,7 @@ public class FTPFile implements Serializ
/***
* Set the name of the file.
- * <p>
+ *
* @param name The name of the file.
***/
public void setName(String name)
@@ -222,7 +221,7 @@ public class FTPFile implements Serializ
/***
* Return the name of the file.
- * <p>
+ *
* @return The name of the file.
***/
public String getName()
@@ -243,7 +242,7 @@ public class FTPFile implements Serializ
/***
* Return the file size in bytes.
- * <p>
+ *
* @return The file size in bytes.
***/
public long getSize()
@@ -255,7 +254,7 @@ public class FTPFile implements Serializ
/***
* Set the number of hard links to this file. This is not to be
* confused with symbolic links.
- * <p>
+ *
* @param links The number of hard links to this file.
***/
public void setHardLinkCount(int links)
@@ -267,7 +266,7 @@ public class FTPFile implements Serializ
/***
* Return the number of hard links to this file. This is not to be
* confused with symbolic links.
- * <p>
+ *
* @return The number of hard links to this file.
***/
public int getHardLinkCount()
@@ -279,7 +278,7 @@ public class FTPFile implements Serializ
/***
* Set the name of the group owning the file. This may be
* a string representation of the group number.
- * <p>
+ *
* @param group The name of the group owning the file.
***/
public void setGroup(String group)
@@ -291,7 +290,7 @@ public class FTPFile implements Serializ
/***
* Returns the name of the group owning the file. Sometimes this will be
* a string representation of the group number.
- * <p>
+ *
* @return The name of the group owning the file.
***/
public String getGroup()
@@ -303,7 +302,7 @@ public class FTPFile implements Serializ
/***
* Set the name of the user owning the file. This may be
* a string representation of the user number;
- * <p>
+ *
* @param user The name of the user owning the file.
***/
public void setUser(String user)
@@ -314,7 +313,7 @@ public class FTPFile implements Serializ
/***
* Returns the name of the user owning the file. Sometimes this will be
* a string representation of the user number.
- * <p>
+ *
* @return The name of the user owning the file.
***/
public String getUser()
@@ -326,7 +325,7 @@ public class FTPFile implements Serializ
/***
* If the FTPFile is a symbolic link, use this method to set the name of the
* file being pointed to by the symbolic link.
- * <p>
+ *
* @param link The file pointed to by the symbolic link.
***/
public void setLink(String link)
@@ -338,7 +337,7 @@ public class FTPFile implements Serializ
/***
* If the FTPFile is a symbolic link, this method returns the name of the
* file being pointed to by the symbolic link. Otherwise it returns null.
- * <p>
+ *
* @return The file pointed to by the symbolic link (null if the FTPFile
* is not a symbolic link).
***/
@@ -352,7 +351,7 @@ public class FTPFile implements Serializ
* Set the file timestamp. This usually the last modification time.
* The parameter is not cloned, so do not alter its value after calling
* this method.
- * <p>
+ *
* @param date A Calendar instance representing the file timestamp.
***/
public void setTimestamp(Calendar date)
@@ -363,7 +362,7 @@ public class FTPFile implements Serializ
/***
* Returns the file timestamp. This usually the last modification time.
- * <p>
+ *
* @return A Calendar instance representing the file timestamp.
***/
public Calendar getTimestamp()
@@ -376,7 +375,7 @@ public class FTPFile implements Serializ
* Set if the given access group (one of the <code> _ACCESS </code>
* constants) has the given access permission (one of the
* <code> _PERMISSION </code> constants) to the file.
- * <p>
+ *
* @param access The access group (one of the <code> _ACCESS </code>
* constants)
* @param permission The access permission (one of the
@@ -394,7 +393,7 @@ public class FTPFile implements Serializ
* Determines if the given access group (one of the <code> _ACCESS </code>
* constants) has the given access permission (one of the
* <code> _PERMISSION </code> constants) to the file.
- * <p>
+ *
* @param access The access group (one of the <code> _ACCESS </code>
* constants)
* @param permission The access permission (one of the
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java Sun Jan 18 17:10:05 2015
@@ -87,7 +87,7 @@ public interface FTPFileEntryParser
* file listing line doesn't describe a file, <code> null </code> should be
* returned, otherwise a <code> FTPFile </code> instance representing the
* files in the directory is returned.
- * <p>
+ *
* @param listEntry A line of text from the file listing
* @return An FTPFile instance corresponding to the supplied entry
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java Sun Jan 18 17:10:05 2015
@@ -110,7 +110,7 @@ public final class FTPReply
* No further commands can be issued to the FTP server after a positive
* preliminary response until a follow up response is received from the
* server.
- * <p>
+ *
* @param reply The reply code to test.
* @return True if a reply code is a postive preliminary response, false
* if not.
@@ -125,7 +125,7 @@ public final class FTPReply
* codes beginning with a 2 are positive completion responses.
* The FTP server will send a positive completion response on the final
* successful completion of a command.
- * <p>
+ *
* @param reply The reply code to test.
* @return True if a reply code is a postive completion response, false
* if not.
@@ -143,7 +143,7 @@ public final class FTPReply
* commands. For example, after a successful USER command, a positive
* intermediate response will be sent to indicate that the server is
* ready for the PASS command.
- * <p>
+ *
* @param reply The reply code to test.
* @return True if a reply code is a postive intermediate response, false
* if not.
@@ -158,7 +158,7 @@ public final class FTPReply
* codes beginning with a 4 are negative transient responses.
* The FTP server will send a negative transient response on the
* failure of a command that can be reattempted with success.
- * <p>
+ *
* @param reply The reply code to test.
* @return True if a reply code is a negative transient response, false
* if not.
@@ -173,7 +173,7 @@ public final class FTPReply
* codes beginning with a 5 are negative permanent responses.
* The FTP server will send a negative permanent response on the
* failure of a command that cannot be reattempted with success.
- * <p>
+ *
* @param reply The reply code to test.
* @return True if a reply code is a negative permanent response, false
* if not.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java Sun Jan 18 17:10:05 2015
@@ -41,7 +41,7 @@ public final class FTPSCommand {
/**
* Retrieve the FTPS command string corresponding to a specified
* command code.
- * <p>
+ *
* @param command The command code.
* @return The FTPS command string corresponding to a specified
* command code.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/ConfigurableFTPFileEntryParserImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/ConfigurableFTPFileEntryParserImpl.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/ConfigurableFTPFileEntryParserImpl.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/ConfigurableFTPFileEntryParserImpl.java Sun Jan 18 17:10:05 2015
@@ -32,10 +32,10 @@ import org.apache.commons.net.ftp.FTPCli
* that pulls out the date portion as a separate string which is
* passed to the underlying {@link FTPTimestampParser delegate} to
* handle parsing of the file timestamp.
- * </p><p>
+ * <p>
* This class also implements the {@link Configurable Configurable}
* interface to allow the parser to be configured from the outside.
- * </p>
+ *
* @since 1.4
*/
public abstract class ConfigurableFTPFileEntryParserImpl
@@ -73,7 +73,7 @@ implements Configurable
/**
* This method is called by the concrete parsers to delegate
* timestamp parsing to the timestamp parser.
- * <p>
+ *
* @param timestampStr the timestamp string pulled from the
* file listing by the regular expression parser, to be submitted
* to the <code>timestampParser</code> for extracting the timestamp.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java Sun Jan 18 17:10:05 2015
@@ -63,7 +63,6 @@ public class DefaultFTPFileEntryParserFa
* which are returned by the SYST command on the systems which
* the corresponding parser successfully parses. This enables
* this factory to be used in the auto-detection system.
- * <p>
*
* @param key should be a fully qualified classname corresponding to
* a class implementing the FTPFileEntryParser interface<br>
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java Sun Jan 18 17:10:05 2015
@@ -345,7 +345,8 @@ public class FTPTimestampParserImpl impl
* Set up the {@link FTPClientConfig#setDefaultDateFormatStr(java.lang.String) defaultDateFormat}
* and optionally the {@link FTPClientConfig#setRecentDateFormatStr(String) recentDateFormat}
* to values supplied in the config based on month names configured as follows:
- * </p><p><ul>
+ * </p>
+ * <ul>
* <li>If a {@link FTPClientConfig#setShortMonthNames(String) shortMonthString}
* has been supplied in the <code>config</code>, use that to parse parse timestamps.</li>
* <li>Otherwise, if a {@link FTPClientConfig#setServerLanguageCode(String) serverLanguageCode}
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MacOsPeterFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MacOsPeterFTPEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MacOsPeterFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MacOsPeterFTPEntryParser.java Sun Jan 18 17:10:05 2015
@@ -121,7 +121,7 @@ public class MacOsPeterFTPEntryParser ex
* instance. If the file listing line doesn't describe a file,
* <code> null </code> is returned, otherwise a <code> FTPFile </code>
* instance representing the files in the directory is returned.
- * <p>
+ *
* @param entry A line of text from the file listing
* @return An FTPFile instance corresponding to the supplied entry
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java Sun Jan 18 17:10:05 2015
@@ -94,7 +94,7 @@ public class NTFTPEntryParser extends Co
* file listing line doesn't describe a file, <code> null </code> is
* returned, otherwise a <code> FTPFile </code> instance representing the
* files in the directory is returned.
- * <p>
+ *
* @param entry A line of text from the file listing
* @return An FTPFile instance corresponding to the supplied entry
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParser.java Sun Jan 18 17:10:05 2015
@@ -91,7 +91,6 @@ public class NetwareFTPEntryParser exten
* returned, otherwise a <code> FTPFile </code> instance representing the
* files in the directory is returned.
* <p>
- * <p>
* Netware file permissions are in the following format: RWCEAFMS, and are explained as follows:
* <ul>
* <li><b>S</b> - Supervisor; All rights.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java Sun Jan 18 17:10:05 2015
@@ -82,7 +82,7 @@ public class OS2FTPEntryParser extends C
* file listing line doesn't describe a file, <code> null </code> is
* returned, otherwise a <code> FTPFile </code> instance representing the
* files in the directory is returned.
- * <p>
+ *
* @param entry A line of text from the file listing
* @return An FTPFile instance corresponding to the supplied entry
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java Sun Jan 18 17:10:05 2015
@@ -202,7 +202,7 @@ public class UnixFTPEntryParser extends
* instance. If the file listing line doesn't describe a file,
* <code> null </code> is returned, otherwise a <code> FTPFile </code>
* instance representing the files in the directory is returned.
- * <p>
+ *
* @param entry A line of text from the file listing
* @return An FTPFile instance corresponding to the supplied entry
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java Sun Jan 18 17:10:05 2015
@@ -102,7 +102,7 @@ public class VMSFTPEntryParser extends C
* file listing line doesn't describe a file, <code> null </code> is
* returned, otherwise a <code> FTPFile </code> instance representing the
* files in the directory is returned.
- * <p>
+ *
* @param entry A line of text from the file listing
* @return An FTPFile instance corresponding to the supplied entry
*/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java Sun Jan 18 17:10:05 2015
@@ -103,7 +103,7 @@ public class AuthenticatingIMAPClient ex
/**
* Authenticate to the IMAP server by sending the AUTHENTICATE command with the
* selected mechanism, using the given username and the given password.
- * <p>
+ *
* @param method the method name
* @param username user
* @param password password
@@ -128,7 +128,7 @@ public class AuthenticatingIMAPClient ex
/**
* Authenticate to the IMAP server by sending the AUTHENTICATE command with the
* selected mechanism, using the given username and the given password.
- * <p>
+ *
* @param method the method name
* @param username user
* @param password password
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java Sun Jan 18 17:10:05 2015
@@ -231,7 +231,7 @@ public class IMAP extends SocketClient
/**
* Sets IMAP client state. This must be one of the
* <code>_STATE</code> constants.
- * <p>
+ *
* @param state The new state.
*/
protected void setState(IMAP.IMAPState state)
@@ -242,7 +242,7 @@ public class IMAP extends SocketClient
/**
* Returns the current IMAP client state.
- * <p>
+ *
* @return The current IMAP client state.
*/
public IMAP.IMAPState getState()
@@ -255,7 +255,7 @@ public class IMAP extends SocketClient
* <code> DISCONNECTED_STATE </code>. The reply text information
* from the last issued command is voided to allow garbage collection
* of the memory used to store that information.
- * <p>
+ *
* @exception IOException If there is an error in disconnecting.
*/
@Override
@@ -271,7 +271,7 @@ public class IMAP extends SocketClient
/**
* Sends a command an arguments to the server and returns the reply code.
- * <p>
+ *
* @param commandID The ID (tag) of the command.
* @param command The IMAP command to send.
* @param args The command arguments.
@@ -306,7 +306,7 @@ public class IMAP extends SocketClient
/**
* Sends a command an arguments to the server and returns the reply code.
- * <p>
+ *
* @param command The IMAP command to send.
* @param args The command arguments.
* @return The server reply code (see IMAPReply).
@@ -319,7 +319,7 @@ public class IMAP extends SocketClient
/**
* Sends a command with no arguments to the server and returns the
* reply code.
- * <p>
+ *
* @param command The IMAP command to send.
* @return The server reply code (see IMAPReply).
*/
@@ -330,7 +330,7 @@ public class IMAP extends SocketClient
/**
* Sends a command and arguments to the server and returns the reply code.
- * <p>
+ *
* @param command The IMAP command to send
* (one of the IMAPCommand constants).
* @param args The command arguments.
@@ -343,7 +343,7 @@ public class IMAP extends SocketClient
/**
* Sends a command and arguments to the server and return whether successful.
- * <p>
+ *
* @param command The IMAP command to send
* (one of the IMAPCommand constants).
* @param args The command arguments.
@@ -381,7 +381,7 @@ public class IMAP extends SocketClient
/**
* Sends data to the server and returns the reply code.
- * <p>
+ *
* @param command The IMAP command to send.
* @return The server reply code (see IMAPReply).
*/
@@ -404,7 +404,7 @@ public class IMAP extends SocketClient
* Returns the reply to the last command sent to the server.
* The value is a single string containing all the reply lines including
* newlines.
- * <p>
+ *
* @return The last server response.
*/
public String getReplyString()
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPClient.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPClient.java Sun Jan 18 17:10:05 2015
@@ -78,7 +78,7 @@ public class IMAPClient extends IMAP
* before attempting to login. A login attempt is only valid if
* the client is in the NOT_AUTH_STATE.
* After logging in, the client enters the AUTH_STATE.
- * <p>
+ *
* @param username The account name being logged in to.
* @param password The plain text password of the account.
* @return True if the login attempt was successful, false if not.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamAdapter.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamAdapter.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamAdapter.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamAdapter.java Sun Jan 18 17:10:05 2015
@@ -31,8 +31,8 @@ import org.apache.commons.net.util.Liste
* bytesTransfered(long, int) of a CopyStreamListener for performance
* reasons and also because multiple listeners cannot be registered given
* that the methods are static.
- * <p>
- * <p>
+ *
+ *
* @see CopyStreamEvent
* @see CopyStreamListener
* @see Util
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamEvent.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamEvent.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamEvent.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamEvent.java Sun Jan 18 17:10:05 2015
@@ -24,8 +24,8 @@ import java.util.EventObject;
* stream copying operation. The event stores the number of bytes
* transferred by the write triggering the event as well as the total
* number of bytes transferred so far by the copy operation.
- * <p>
- * <p>
+ *
+ *
* @see CopyStreamListener
* @see CopyStreamAdapter
* @see Util
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamListener.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamListener.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamListener.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/CopyStreamListener.java Sun Jan 18 17:10:05 2015
@@ -32,8 +32,8 @@ import java.util.EventListener;
* removeCopyStreamListener methods. However, future additions may use the
* JavaBean event model, which is why the hooks have been included from the
* beginning.
- * <p>
- * <p>
+ *
+ *
* @see CopyStreamEvent
* @see CopyStreamAdapter
* @see Util
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java Sun Jan 18 17:10:05 2015
@@ -32,8 +32,8 @@ import java.io.Writer;
* converts single linefeeds to NETASCII newlines, and on closing
* will send the final message terminator dot and NETASCII newline
* sequence.
- * <p>
- * <p>
+ *
+ *
***/
public final class DotTerminatedMessageWriter extends Writer
@@ -49,7 +49,7 @@ public final class DotTerminatedMessageW
/***
* Creates a DotTerminatedMessageWriter that wraps an existing Writer
* output destination.
- * <p>
+ *
* @param output The Writer output destination to write the message.
***/
public DotTerminatedMessageWriter(Writer output)
@@ -66,7 +66,7 @@ public final class DotTerminatedMessageW
* convert naked linefeeds to NETASCII line separators and to double
* line-leading periods. This is transparent to the programmer and
* is only mentioned for completeness.
- * <p>
+ *
* @param ch The character to write.
* @exception IOException If an error occurs while writing to the
* underlying output.
@@ -107,7 +107,7 @@ public final class DotTerminatedMessageW
/***
* Writes a number of characters from a character array to the output
* starting from a given offset.
- * <p>
+ *
* @param buffer The character array to write.
* @param offset The offset into the array at which to start copying data.
* @param length The number of characters to write.
@@ -128,7 +128,7 @@ public final class DotTerminatedMessageW
/***
* Writes a character array to the output.
- * <p>
+ *
* @param buffer The character array to write.
* @exception IOException If an error occurs while writing to the underlying
* output.
@@ -142,7 +142,7 @@ public final class DotTerminatedMessageW
/***
* Writes a String to the output.
- * <p>
+ *
* @param string The String to write.
* @exception IOException If an error occurs while writing to the underlying
* output.
@@ -156,7 +156,7 @@ public final class DotTerminatedMessageW
/***
* Writes part of a String to the output starting from a given offset.
- * <p>
+ *
* @param string The String to write.
* @param offset The offset into the String at which to start copying data.
* @param length The number of characters to write.
@@ -172,7 +172,7 @@ public final class DotTerminatedMessageW
/***
* Flushes the underlying output, writing all buffered output.
- * <p>
+ *
* @exception IOException If an error occurs while writing to the underlying
* output.
***/
@@ -190,7 +190,7 @@ public final class DotTerminatedMessageW
* Flushes the underlying output, writing all buffered output, but doesn't
* actually close the underlying stream. The underlying stream may still
* be used for communicating with the server and therefore is not closed.
- * <p>
+ *
* @exception IOException If an error occurs while writing to the underlying
* output or closing the Writer.
***/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIInputStream.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIInputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIInputStream.java Sun Jan 18 17:10:05 2015
@@ -28,8 +28,8 @@ import java.io.UnsupportedEncodingExcept
* which is the NETASCII standard for representing a newline, with the
* local line separator representation. You would use this class to
* implement ASCII file transfers requiring conversion from NETASCII.
- * <p>
- * <p>
+ *
+ *
***/
public final class FromNetASCIIInputStream extends PushbackInputStream
@@ -55,7 +55,7 @@ public final class FromNetASCIIInputStre
* line separator, false if they are the same. This method is useful
* to determine whether or not you need to instantiate a
* FromNetASCIIInputStream object.
- * <p>
+ *
* @return True if the NETASCII line separator differs from the local
* system line separator, false if they are the same.
***/
@@ -110,7 +110,7 @@ public final class FromNetASCIIInputStre
* to convert NETASCII line separators to the local line separator format.
* This is transparent to the programmer and is only mentioned for
* completeness.
- * <p>
+ *
* @return The next character in the stream. Returns -1 if the end of the
* stream has been reached.
* @exception IOException If an error occurs while reading the underlying
@@ -131,7 +131,7 @@ public final class FromNetASCIIInputStre
* Reads the next number of bytes from the stream into an array and
* returns the number of bytes read. Returns -1 if the end of the
* stream has been reached.
- * <p>
+ *
* @param buffer The byte array in which to store the data.
* @return The number of bytes read. Returns -1 if the
* end of the message has been reached.
@@ -150,7 +150,7 @@ public final class FromNetASCIIInputStre
* the number of bytes read. Returns -1 if the end of the
* message has been reached. The characters are stored in the array
* starting from the given offset and up to the length specified.
- * <p>
+ *
* @param buffer The byte array in which to store the data.
* @param offset The offset into the array at which to start storing data.
* @param length The number of bytes to read.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIOutputStream.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIOutputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIOutputStream.java Sun Jan 18 17:10:05 2015
@@ -32,8 +32,8 @@ import java.io.OutputStream;
* not flush the last byte written if that byte was a carriage
* return. A call to {@link #close close() }, however, will
* flush the carriage return.
- * <p>
- * <p>
+ *
+ *
***/
public final class FromNetASCIIOutputStream extends FilterOutputStream
@@ -43,7 +43,7 @@ public final class FromNetASCIIOutputStr
/***
* Creates a FromNetASCIIOutputStream instance that wraps an existing
* OutputStream.
- * <p>
+ *
* @param output The OutputStream to wrap.
***/
public FromNetASCIIOutputStream(OutputStream output)
@@ -90,7 +90,7 @@ public final class FromNetASCIIOutputStr
* a NETASCII line separator was encountered.
* This is transparent to the programmer and is only mentioned for
* completeness.
- * <p>
+ *
* @param ch The byte to write.
* @exception IOException If an error occurs while writing to the underlying
* stream.
@@ -111,7 +111,7 @@ public final class FromNetASCIIOutputStr
/***
* Writes a byte array to the stream.
- * <p>
+ *
* @param buffer The byte array to write.
* @exception IOException If an error occurs while writing to the underlying
* stream.
@@ -127,7 +127,7 @@ public final class FromNetASCIIOutputStr
/***
* Writes a number of bytes from a byte array to the stream starting from
* a given offset.
- * <p>
+ *
* @param buffer The byte array to write.
* @param offset The offset into the array at which to start copying data.
* @param length The number of bytes to write.
@@ -154,7 +154,7 @@ public final class FromNetASCIIOutputStr
/***
* Closes the stream, writing all pending data.
- * <p>
+ *
* @exception IOException If an error occurs while closing the stream.
***/
@Override
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketInputStream.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketInputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketInputStream.java Sun Jan 18 17:10:05 2015
@@ -29,8 +29,8 @@ import java.net.Socket;
* are dealing with a stream originating from a socket, but do not have
* a reference to the socket, and want to make sure it closes when the
* stream closes.
- * <p>
- * <p>
+ *
+ *
* @see SocketOutputStream
***/
@@ -42,7 +42,7 @@ public class SocketInputStream extends F
* Creates a SocketInputStream instance wrapping an input stream and
* storing a reference to a socket that should be closed on closing
* the stream.
- * <p>
+ *
* @param socket The socket to close on closing the stream.
* @param stream The input stream to wrap.
***/
@@ -55,7 +55,7 @@ public class SocketInputStream extends F
/***
* Closes the stream and immediately afterward closes the referenced
* socket.
- * <p>
+ *
* @exception IOException If there is an error in closing the stream
* or socket.
***/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketOutputStream.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketOutputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketOutputStream.java Sun Jan 18 17:10:05 2015
@@ -29,8 +29,8 @@ import java.net.Socket;
* are dealing with a stream originating from a socket, but do not have
* a reference to the socket, and want to make sure it closes when the
* stream closes.
- * <p>
- * <p>
+ *
+ *
* @see SocketInputStream
***/
@@ -42,7 +42,7 @@ public class SocketOutputStream extends
* Creates a SocketOutputStream instance wrapping an output stream and
* storing a reference to a socket that should be closed on closing
* the stream.
- * <p>
+ *
* @param socket The socket to close on closing the stream.
* @param stream The input stream to wrap.
***/
@@ -58,7 +58,7 @@ public class SocketOutputStream extends
* a given offset. This method bypasses the equivalent method in
* FilterOutputStream because the FilterOutputStream implementation is
* very inefficient.
- * <p>
+ *
* @param buffer The byte array to write.
* @param offset The offset into the array at which to start copying data.
* @param length The number of bytes to write.
@@ -75,7 +75,7 @@ public class SocketOutputStream extends
/***
* Closes the stream and immediately afterward closes the referenced
* socket.
- * <p>
+ *
* @exception IOException If there is an error in closing the stream
* or socket.
***/
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java Sun Jan 18 17:10:05 2015
@@ -28,8 +28,8 @@ import java.io.InputStream;
* a newline.
* You would use this class to implement ASCII file transfers requiring
* conversion to NETASCII.
- * <p>
- * <p>
+ *
+ *
***/
public final class ToNetASCIIInputStream extends FilterInputStream
@@ -42,7 +42,7 @@ public final class ToNetASCIIInputStream
/***
* Creates a ToNetASCIIInputStream instance that wraps an existing
* InputStream.
- * <p>
+ *
* @param input The InputStream to wrap.
***/
public ToNetASCIIInputStream(InputStream input)
@@ -55,7 +55,7 @@ public final class ToNetASCIIInputStream
/***
* Reads and returns the next byte in the stream. If the end of the
* message has been reached, returns -1.
- * <p>
+ *
* @return The next character in the stream. Returns -1 if the end of the
* stream has been reached.
* @exception IOException If an error occurs while reading the underlying
@@ -99,7 +99,7 @@ public final class ToNetASCIIInputStream
* Reads the next number of bytes from the stream into an array and
* returns the number of bytes read. Returns -1 if the end of the
* stream has been reached.
- * <p>
+ *
* @param buffer The byte array in which to store the data.
* @return The number of bytes read. Returns -1 if the
* end of the message has been reached.
@@ -118,7 +118,7 @@ public final class ToNetASCIIInputStream
* the number of bytes read. Returns -1 if the end of the
* message has been reached. The characters are stored in the array
* starting from the given offset and up to the length specified.
- * <p>
+ *
* @param buffer The byte array in which to store the data.
* @param offset The offset into the array at which to start storing data.
* @param length The number of bytes to read.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java Sun Jan 18 17:10:05 2015
@@ -28,8 +28,8 @@ import java.io.OutputStream;
* a newline.
* You would use this class to implement ASCII file transfers requiring
* conversion to NETASCII.
- * <p>
- * <p>
+ *
+ *
***/
public final class ToNetASCIIOutputStream extends FilterOutputStream
@@ -39,7 +39,7 @@ public final class ToNetASCIIOutputStrea
/***
* Creates a ToNetASCIIOutputStream instance that wraps an existing
* OutputStream.
- * <p>
+ *
* @param output The OutputStream to wrap.
***/
public ToNetASCIIOutputStream(OutputStream output)
@@ -55,7 +55,7 @@ public final class ToNetASCIIOutputStrea
* to convert naked newlines to NETASCII line separators.
* This is transparent to the programmer and is only mentioned for
* completeness.
- * <p>
+ *
* @param ch The byte to write.
* @exception IOException If an error occurs while writing to the underlying
* stream.
@@ -85,7 +85,7 @@ public final class ToNetASCIIOutputStrea
/***
* Writes a byte array to the stream.
- * <p>
+ *
* @param buffer The byte array to write.
* @exception IOException If an error occurs while writing to the underlying
* stream.
@@ -101,7 +101,7 @@ public final class ToNetASCIIOutputStrea
/***
* Writes a number of bytes from a byte array to the stream starting from
* a given offset.
- * <p>
+ *
* @param buffer The byte array to write.
* @param offset The offset into the array at which to start copying data.
* @param length The number of bytes to write.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java?rev=1652801&r1=1652800&r2=1652801&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java Sun Jan 18 17:10:05 2015
@@ -28,8 +28,8 @@ import java.net.Socket;
/***
* The Util class cannot be instantiated and stores short static convenience
* methods that are often quite useful.
- * <p>
- * <p>
+ *
+ *
* @see CopyStreamException
* @see CopyStreamListener
* @see CopyStreamAdapter
@@ -63,7 +63,7 @@ public final class Util
* source nor the destination are closed. You must do this yourself
* outside of the method call. The number of bytes read/written is
* returned.
- * <p>
+ *
* @param source The source InputStream.
* @param dest The destination OutputStream.
* @param bufferSize The number of bytes to buffer during the copy.
@@ -155,7 +155,7 @@ public final class Util
* source nor the destination are closed. You must do this yourself
* outside of the method call. The number of bytes read/written is
* returned.
- * <p>
+ *
* @param source The source InputStream.
* @param dest The destination OutputStream.
* @param bufferSize The number of bytes to buffer during the copy.
@@ -192,7 +192,7 @@ public final class Util
* source nor the destination are closed. You must do this yourself
* outside of the method call. The number of bytes read/written is
* returned.
- * <p>
+ *
* @param source The source InputStream.
* @param dest The destination OutputStream.
* @param bufferSize The number of bytes to buffer during the copy.
@@ -243,7 +243,7 @@ public final class Util
* read until its end is reached, but neither the source nor the
* destination are closed. You must do this yourself outside of the
* method call. The number of characters read/written is returned.
- * <p>
+ *
* @param source The source Reader.
* @param dest The destination writer.
* @param bufferSize The number of characters to buffer during the copy.
@@ -317,7 +317,7 @@ public final class Util
* read until its end is reached, but neither the source nor the
* destination are closed. You must do this yourself outside of the
* method call. The number of characters read/written is returned.
- * <p>
+ *
* @param source The source Reader.
* @param dest The destination writer.
* @param bufferSize The number of characters to buffer during the copy.