📄 filelist.java
字号:
package firewall.common;
import java.io.Serializable;
/**
* Title: FileList
* Description: Wrapper for String array of filenames within server
* local directory
* Copyright: Copyright (c) 2001
* Company:
* @author Andrew Harbourne-Thomas
* @version 1.0
*/
public class FileList extends BaseRequest implements Serializable {
/** Array of filenames from server directory */
String[] fileList;
/**
* Constructor requring the request type and an array of filenames
* for the servers files folder
*
* @param requestType Type of request (for BaseRequest superclass)
* @param fileList Array of filenames
*/
public FileList(String requestType, String[] fileList) {
super(requestType);
this.fileList = fileList;
}
/**
* Get an array of filenames from the servers files directory
*
* @return an array of filenames from the server
*/
public String[] getFileList() {
return fileList;
}
/**
* Sets the filelist String array
*
* @param fileList the array of filenames
*/
public void setFileList(String[] fileList) {
this.fileList = fileList;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -