Class PushbackEntireLine


  • public class PushbackEntireLine
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PushbackEntireLine​(java.io.BufferedReader reader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void putbackLine​(java.lang.String pushedLine)  
      java.lang.String readLine()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PushbackEntireLine

        public PushbackEntireLine​(java.io.BufferedReader reader)
    • Method Detail

      • readLine

        public java.lang.String readLine()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • putbackLine

        public void putbackLine​(java.lang.String pushedLine)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException