Class CommentedLineReader

java.lang.Object
java.io.Reader
java.io.BufferedReader
org.moeaframework.util.io.CommentedLineReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class CommentedLineReader extends BufferedReader
Read text from a character-input stream, ignoring lines starting with the # character. Lines are only ignored when using the readLine() method.
  • Constructor Details

    • CommentedLineReader

      public CommentedLineReader(Reader in)
      Constructs a buffered reader that ignores commented lines.
      Parameters:
      in - a reader
  • Method Details