tribble.net.ftp
Class FTPResponse

java.lang.Object
  extended by tribble.net.ftp.FTPResponse

 class FTPResponse
extends java.lang.Object

Simple FTP command response.

Since:
2006-03-16
Version:
$Revision: 1.2 $ $Date: 2006/04/16 02:00:30 $
Author:
David R. Tribble (david@tribble.com).
Copyright ©2006 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated by the United States Department of State as a terrorist, or terrorist government or agency, to use and distribute this source code provided that the original copyright notice remains present and unaltered.
See Also:
FTPClient

Field Summary
(package private)  int m_code
          Command response 3-digit code.
(package private)  java.util.ArrayList m_lines
          List of command response text lines.
(package private) static java.lang.String REV
          Revision information.
 
Constructor Summary
FTPResponse()
          Default constructor.
 
Method Summary
protected  void finalize()
          Finalization.
(package private)  byte[] line(int n)
          Retrieve a text line response.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REV

static final java.lang.String REV
Revision information.

See Also:
Constant Field Values

m_code

int m_code
Command response 3-digit code.


m_lines

java.util.ArrayList m_lines
List of command response text lines.

Constructor Detail

FTPResponse

FTPResponse()
Default constructor.

Since:
1.1, 2006-03-16
Method Detail

line

byte[] line(int n)
Retrieve a text line response.

Parameters:
n - The index of the text line to retrieve.
Since:
1.1, 2006-03-16

finalize

protected void finalize()
                 throws java.lang.Throwable
Finalization.

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable
Since:
1.1, 2006-03-16