Package 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
,AutoCloseable
,Readable
- Enclosing class:
- CmsParameterConfiguration
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.LineNumberReader
getLineNumber, mark, read, read, readLine, reset, setLineNumber, skip
Methods inherited from class java.io.BufferedReader
close, lines, markSupported, ready
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
ParameterReader
Constructor.- Parameters:
reader
- a reader
-
-
Method Details
-
readParameter
Reads a parameter line.- Returns:
- the parameter line read
- Throws:
IOException
- in case of IO errors
-