ioutil
Class InteractiveLineSource

java.lang.Object
  |
  +--ioutil.LineSource
        |
        +--ioutil.InteractiveLineSource

public class InteractiveLineSource
extends LineSource

An InteractiveLineSource dispenses LineScanners for lines read from the terminal.


Method Summary
 LineScanner current()
          src.current() returns the line at the current position of src.
 
Methods inherited from class ioutil.LineSource
advance, getFileName, getIncludedFrom, getLineNumber, more, setEchoOff, setEchoOn, setIncludedFrom
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

current

public LineScanner current()
                    throws java.io.IOException,
                           java.lang.IllegalArgumentException
src.current() returns the line at the current position of src.

Precondition: src.more() is true.

Overrides:
current in class LineSource