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