org.norther.tammi.core.config
Class Configuration.PropertiesReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
org.norther.tammi.core.config.Configuration.PropertiesReader
- All Implemented Interfaces:
- Closeable, Readable
- Enclosing class:
- Configuration
protected static class Configuration.PropertiesReader
- extends BufferedReader
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration.PropertiesReader
public Configuration.PropertiesReader(Reader reader)
- Constructor.
- Parameters:
reader - a reader to wrap.
readProperty
public String readProperty()
throws IOException
- Reads a property.
- Returns:
- the property.
- Throws:
IOException - for I/O errors.
Copyright © 2004 The Norther Organization. All rights reserved.