public class FTPMessageCollector extends java.lang.Object implements FTPMessageListener
Constructor and Description |
---|
FTPMessageCollector() |
Modifier and Type | Method and Description |
---|---|
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
|
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()
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.