Module org.hsqldb

Class LineGroupReader

java.lang.Object
org.hsqldb.lib.LineGroupReader

public class LineGroupReader extends Object
Uses a LineNumberReader and returns multiple consecutive lines which conform to the specified group demarcation characteristics. Any exception thrown while reading from the reader is handled internally.
Since:
1.9.0
Author:
Fred Toussi (fredt@users dot sourceforge.net)
  • Constructor Details

    • LineGroupReader

      public LineGroupReader(LineNumberReader reader)
      Default constructor for TestUtil usage. Sections start at lines beginning with any non-space character. SQL comment lines are ignored.
      Parameters:
      reader - LineNumberReader
    • LineGroupReader

      public LineGroupReader(LineNumberReader reader, String[] sectionStarts)
      Constructor for sections starting with specified strings.
      Parameters:
      reader - LineNumberReader
      sectionStarts - String[]
  • Method Details