public class YamlConfigurationReader extends Object implements AutoCloseable
| Constructor and Description |
|---|
YamlConfigurationReader()
Default Tagged Configuration
|
YamlConfigurationReader(File configurationFile) |
YamlConfigurationReader(String configurationScript) |
YamlConfigurationReader(URL configurationPathAsResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String property,
boolean value) |
void |
addProperty(String property,
String value) |
void |
clearRules() |
void |
close() |
protected void |
compileRegexRules() |
protected void |
findRegexRules() |
List<Map> |
getAllRuleTypes(String ruleName)
Find element or attribute rules
|
Map<String,Object> |
getAttributeRules() |
List<Map> |
getAttributeRules(String ruleName) |
Map<String,Object> |
getElementRules() |
List<Map> |
getElementRules(String ruleName) |
Object |
getProperty(String property) |
List<Map> |
getRegexAttributeRules(String ruleName) |
List<Map> |
getRegexElementRule(String ruleName) |
protected void |
initialize() |
boolean |
isPreserveWhitespace() |
void |
setPreserveWhitespace(boolean preserveWhitespace) |
String |
toString() |
public YamlConfigurationReader()
public YamlConfigurationReader(URL configurationPathAsResource)
public YamlConfigurationReader(File configurationFile)
public YamlConfigurationReader(String configurationScript)
public boolean isPreserveWhitespace()
public void setPreserveWhitespace(boolean preserveWhitespace)
protected void initialize()
public void addProperty(String property, boolean value)
public void clearRules()
protected void findRegexRules()
protected void compileRegexRules()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022. All rights reserved.