public class FileIOAdapter extends Object implements IIOAdapter
| 构造器和说明 |
|---|
FileIOAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
OutputStream |
create(String path)
创建一个新文件以供输出
|
InputStream |
open(String path)
打开一个文件以供读取
|
public InputStream open(String path) throws FileNotFoundException
IIOAdapteropen 在接口中 IIOAdapterpath - 文件路径FileNotFoundExceptionpublic OutputStream create(String path) throws FileNotFoundException
IIOAdaptercreate 在接口中 IIOAdapterpath - 文件路径FileNotFoundExceptionCopyright © 2014–2017 码农场. All rights reserved.