public interface Parser
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_PROPERTIES |
static String |
CONTENT_TYPE_RAW |
static String |
CONTENT_TYPE_YAML |
static PropertiesParser |
propertiesParser |
static RawParser |
rawParser |
static YamlParser |
yamlParser |
| Modifier and Type | Method and Description |
|---|---|
static Parser |
findParser(String contentType) |
Map<String,Object> |
parse(String content,
String prefix,
boolean addPrefix) |
static Map<String,Object> |
propertiesToMap(Properties properties,
String prefix,
boolean addPrefix) |
static final String CONTENT_TYPE_YAML
static final String CONTENT_TYPE_PROPERTIES
static final String CONTENT_TYPE_RAW
static final YamlParser yamlParser
static final PropertiesParser propertiesParser
static final RawParser rawParser
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.