public class DefaultYamlConfigParse extends AbstractConfigParse
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultYamlConfigParse.MapAppenderConstructor |
protected static interface |
DefaultYamlConfigParse.MatchCallback |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
DefaultYamlConfigParse() |
| Modifier and Type | Method and Description |
|---|---|
protected static Map<String,Object> |
asMap(Object object) |
protected static void |
buildFlattenedMap(Map<String,Object> result,
Map<String,Object> source,
String path) |
protected static org.yaml.snakeyaml.Yaml |
createYaml() |
protected static Map<String,Object> |
getFlattenedMap(Map<String,Object> source) |
Properties |
parse(String configText)
parse config context to map
|
protected static boolean |
process(DefaultYamlConfigParse.MatchCallback callback,
org.yaml.snakeyaml.Yaml yaml,
String content) |
protected static boolean |
process(Map<String,Object> map,
DefaultYamlConfigParse.MatchCallback callback) |
String |
processType()
get this ConfigParse process config type
|
dataId, groupprotected static org.yaml.snakeyaml.Yaml createYaml()
public Properties parse(String configText)
ConfigParseconfigText - receive config contextPropertiespublic String processType()
ConfigParseprotected static boolean process(DefaultYamlConfigParse.MatchCallback callback, org.yaml.snakeyaml.Yaml yaml, String content)
protected static boolean process(Map<String,Object> map, DefaultYamlConfigParse.MatchCallback callback)
Copyright © 2020. All rights reserved.