|
edtFTPj | |||||||||
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 |
String |
getLog()
Get the log of messages |
void |
logCommand(String cmd)
Log an FTP command being sent to the server |
void |
logReply(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(String cmd)
logCommand
in interface FTPMessageListener
cmd
- command stringpublic void logReply(String reply)
logReply
in interface FTPMessageListener
reply
- reply stringpublic String getLog()
public void clearLog()
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |