com.citycolor.net.ftp
Class FTPResponse
java.lang.Object
com.citycolor.net.ftp.FTPResponse
- public class FTPResponse
- extends java.lang.Object
This class encapsulates a FTP Server Response. It reads
the response from the telnet stream and parses the message
configuring its internal state.
- Author:
- Sebastian E. Ferreyra Pons
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
action
public final char action
type
public final char type
fineDetail
public final char fineDetail
message
public final java.lang.String message
next
public final FTPResponse next
FTPResponse
public FTPResponse(TelnetReader telnetReader)
throws java.io.IOException
- Throws:
java.io.IOException
pending
public boolean pending()
proceed
public boolean proceed()
needMore
public boolean needMore()
failure
public boolean failure()
error
public boolean error()
isSyntax
public boolean isSyntax()
isInfo
public boolean isInfo()
isConnection
public boolean isConnection()
isSecurity
public boolean isSecurity()
isFileSystem
public boolean isFileSystem()
userString
public java.lang.String userString()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright 1999-2004 Sebastian E. Ferreyra Pons. All Rights Reserved.