public class YamlFormat extends AbstractFormat
content, data, index| 构造器和说明 |
|---|
YamlFormat(InputStream inputStream)
构造函数 Constructor
|
YamlFormat(String yamlContent)
构造函数 Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected LinkedHashMap<String,Object> |
loadData()
加载YAML内容并结构化为LinkedHashMap Load YAML content and structure it as LinkedHashMap
|
getValueListBySearchpublic YamlFormat(String yamlContent) throws Exception
yamlContent - YAML格式内容 YAML format contentException - 父类加载数据时或转化结构时可能抛出异常 Exceptions may be thrown when the parent class loads data or transforms structurespublic YamlFormat(InputStream inputStream) throws Exception
inputStream - YAML格式文件的流对象 Stream object of YAML format fileException - 父类加载数据时或转化结构时可能抛出异常 Exceptions may be thrown when the parent class loads data or transforms structuresprotected LinkedHashMap<String,Object> loadData()
loadData 在类中 AbstractFormatCopyright © 2016–2020. All rights reserved.