Package org.apache.commons.collections
Class ExtendedProperties.PropertiesReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
java.io.LineNumberReader
org.apache.commons.collections.ExtendedProperties.PropertiesReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Enclosing class:
- ExtendedProperties
This class is used to read properties lines. These 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.
-
Field Summary
-
Constructor Summary
Constructors -
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
-
PropertiesReader
Constructor.- Parameters:
reader
- A Reader.
-
-
Method Details
-
readProperty
Read a property.- Returns:
- a String property
- Throws:
IOException
- if there is difficulty reading the source.
-