📄 filelist.java
字号:
package cn.ialvin.web.upload;
import java.util.ArrayList;
public class FileList {
private ArrayList<File> s = new ArrayList<File>();
private String name = "";
public FileList(String name) {
if (name != null)
this.name = name;
}
public String getName() {
return this.name;
}
public void append(File s) {
if (s == null) return;
this.s.add(s);
}
public int count() {
return this.s.size();
}
public File get(int i) {
return this.s.get(i);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -