Package org.h2.dev.ftp.server
Class FtpEvent
- java.lang.Object
-
- org.h2.dev.ftp.server.FtpEvent
-
public class FtpEvent extends java.lang.ObjectDescribes an FTP event. This class is used by the FtpEventListener.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommand()Get the FTP command.FtpControlgetControl()Get the FTP control object.java.lang.StringgetParam()Get the parameter of the FTP command (if any).
-
-
-
Method Detail
-
getCommand
public java.lang.String getCommand()
Get the FTP command. Example: RETR- Returns:
- the command
-
getControl
public FtpControl getControl()
Get the FTP control object.- Returns:
- the control object
-
getParam
public java.lang.String getParam()
Get the parameter of the FTP command (if any).- Returns:
- the parameter
-
-