public class FileView extends StreamView
| 限定符和类型 | 字段和说明 |
|---|---|
protected File |
file
文件
|
contentType, inputStream, name, size| 限定符和类型 | 方法和说明 |
|---|---|
FileView |
setFile(File file) |
FileView |
setFile(File file,
String name) |
getContentType, getInputStream, getName, getSize, setContentType, setInputStream, setName, setSizeprotected File file
public FileView(File file) throws FileNotFoundException
public FileView(File file, String name) throws FileNotFoundException
public FileView setFile(File file) throws FileNotFoundException
public FileView setFile(File file, String name) throws FileNotFoundException
Copyright © 2018. All Rights Reserved.