|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
java.lang.Objectnet.sourceforge.wopa.filter.FileSizeFilter
net.sourceforge.wopa.picture.filter.MaxFileFilter
public class MaxFileFilter
最大文件长度过滤器
字段摘要 |
---|
从类 net.sourceforge.wopa.filter.FileSizeFilter 继承的字段 |
---|
size, size_type |
构造函数摘要 | |
---|---|
MaxFileFilter(int size,
FileSizeFilterConfig.SizeType size_type)
设置文件的最大长度和长度类型 |
方法摘要 | |
---|---|
boolean |
accept(int file_size)
设定下载文件前通过的条件 |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造函数详细信息 |
---|
public MaxFileFilter(int size, FileSizeFilterConfig.SizeType size_type)
size
- 文件的最大长度size_type
- 文件的长度类型方法详细信息 |
---|
public boolean accept(int file_size)
FileSizeFilter
复制的描述
FileSizeFilter
中的 accept
file_size
- 文件大小
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |