Class ReadLineReader

java.lang.Object
net.sourceforge.plantuml.preproc.ReadLineReader
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, ReadLine

public class ReadLineReader extends java.lang.Object implements ReadLine
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static ReadLine
    create(java.io.Reader reader, java.lang.String description)
     
    static ReadLine
    create(java.io.Reader reader, java.lang.String description, LineLocation parent)
     
     
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • create

      public static ReadLine create(java.io.Reader reader, java.lang.String description)
    • create

      public static ReadLine create(java.io.Reader reader, java.lang.String description, LineLocation parent)
    • readLine

      public StringLocated readLine() throws java.io.IOException
      Specified by:
      readLine in interface ReadLine
      Throws:
      java.io.IOException
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Throws:
      java.io.IOException