|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.net.ftp.FTPMessageCollector
public class FTPMessageCollector
Listens for and is notified of FTP commands and replies.
Constructor Summary | |
---|---|
FTPMessageCollector()
|
Method Summary | |
---|---|
void |
clearLog()
Clear the log of all messages |
java.lang.String |
getLog()
Get the log of messages |
void |
logCommand(java.lang.String cmd)
Log an FTP command being sent to the server |
void |
logReply(java.lang.String reply)
Log an FTP reply being sent back to the client |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FTPMessageCollector()
Method Detail |
---|
public void logCommand(java.lang.String cmd)
logCommand
in interface FTPMessageListener
cmd
- command stringpublic void logReply(java.lang.String reply)
logReply
in interface FTPMessageListener
reply
- reply stringpublic java.lang.String getLog()
public void clearLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |