ftpevent.java
来自「非常棒的java数据库」· Java 代码 · 共 49 行
JAVA
49 行
/*
* Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.server.ftp;
/**
* Describes an FTP event. This class is used by the FtpEventListener.
*/
public class FtpEvent {
private final FtpControl control;
private final String command;
private final String param;
FtpEvent(FtpControl control, String command, String param) {
this.control = control;
this.command = command;
this.param = param;
}
/**
* Get the FTP command. Example: RETR
*
* @return the command
*/
public String getCommand() {
return command;
}
/**
* Get the FTP control object.
*
* @return the control object
*/
public FtpControl getControl() {
return control;
}
/**
* Get the parameter of the FTP command (if any).
*
* @return the parameter
*/
public String getParam() {
return param;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?