public class NodeReader extends Object
| 构造器和说明 |
|---|
NodeReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
read(File file)
载入解析ndb文件内容
|
Map<String,Object> |
read(String filename)
载入解析ndb文件内容
|
List<String> |
readAsList(File file)
载入文本文件
|
List<String> |
readAsList(String filename)
载入文本文件
|
public List<String> readAsList(String filename) throws IOException
filename - 文件名IOException - IO异常处理public List<String> readAsList(File file) throws IOException
file - 文件名IOException - IO异常处理public Map<String,Object> read(String filename) throws IOException
filename - 文件名IOException - IO异常处理public Map<String,Object> read(File file) throws IOException
file - 文件对象IOException - IO异常处理Copyright © 2016 PinaeOS. All rights reserved.