Class ExtProperties.PropertiesReader

java.lang.Object
java.io.Reader
java.io.BufferedReader
java.io.LineNumberReader
org.apache.velocity.util.ExtProperties.PropertiesReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable
Enclosing class:
ExtProperties

static class ExtProperties.PropertiesReader extends LineNumberReader
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.
  • Constructor Details

    • PropertiesReader

      public PropertiesReader(Reader reader)
      Constructor.
      Parameters:
      reader - A Reader.
  • Method Details

    • readProperty

      public String readProperty() throws IOException
      Read a property.
      Returns:
      a String property
      Throws:
      IOException - if there is difficulty reading the source.