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:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
- Enclosing class:
- CmsParameterConfiguration
protected static class CmsParameterConfiguration.ParameterReader extends java.io.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.
-
-
Constructor Summary
Constructors Constructor Description ParameterReader(java.io.Reader reader)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
readParameter()
Reads a parameter line.
-
-
-
Constructor Detail
-
ParameterReader
public ParameterReader(java.io.Reader reader)
Constructor.- Parameters:
reader
- a reader
-
-
Method Detail
-
readParameter
public java.lang.String readParameter() throws java.io.IOException
Reads a parameter line.- Returns:
- the parameter line read
- Throws:
java.io.IOException
- in case of IO errors
-
-