public static class PropertiesConfiguration.JupPropertiesReader extends PropertiesConfiguration.PropertiesReader
PropertiesConfiguration.PropertiesReader that tries to mimic the behavior of
Properties.| Constructor and Description |
|---|
JupPropertiesReader(Reader reader)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
parseProperty(String line)
Parses a line read from the properties file.
|
String |
readProperty()
Reads a property line.
|
protected String |
unescapePropertyValue(String value)
Performs unescaping on the given property value.
|
getCommentLines, getPropertyName, getPropertySeparator, getPropertyValue, initPropertyName, initPropertySeparator, initPropertyValue, nextProperty, unescapePropertyNamegetLineNumber, mark, read, read, readLine, reset, setLineNumber, skipclose, lines, markSupported, readypublic JupPropertiesReader(Reader reader)
reader - A Reader.public String readProperty() throws IOException
PropertiesConfiguration.PropertiesReader<name>
= <value>)readProperty in class PropertiesConfiguration.PropertiesReaderIOException - in case of an I/O errorprotected void parseProperty(String line)
PropertiesConfiguration.PropertiesReaderinitPropertyXXX() methods.parseProperty in class PropertiesConfiguration.PropertiesReaderline - the line read from the properties fileprotected String unescapePropertyValue(String value)
PropertiesConfiguration.PropertiesReaderunescapePropertyValue in class PropertiesConfiguration.PropertiesReadervalue - the property valueCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.