org.opencms.configuration
Class CmsParameterConfiguration.ParameterReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
java.io.LineNumberReader
org.opencms.configuration.CmsParameterConfiguration.ParameterReader
- All Implemented Interfaces:
- Closeable, Readable
- Enclosing class:
- CmsParameterConfiguration
protected static class CmsParameterConfiguration.ParameterReader
- extends LineNumberReader
Used to read parameter lines from a property file.
The lines do not terminate with new-line chars but rather when there is no
backslash sign a the end of the line. This is used to
concatenate multiple lines for readability in the input file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsParameterConfiguration.ParameterReader
public CmsParameterConfiguration.ParameterReader(Reader reader)
- Constructor.
- Parameters:
reader
- a reader
readParameter
public String readParameter()
throws IOException
- Reads a parameter line.
- Returns:
- the parameter line read
- Throws:
IOException
- in case of IO errors