Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.sourcejammer.server.source
Interface TextLineIterator  view TextLineIterator download TextLineIterator.java

All Known Implementing Classes:
SimpleTextLineIterator, TextLineIteratorOutput

public interface TextLineIterator


Method Summary
 java.lang.String getNextLine()
          Returns the next line, if there are more lines to return.
 boolean hasMoreLines()
          Returns true if this text line iterator has more lines.
 void skipLines(int numLines)
          Skips the requested number of lines.
 

Method Detail

hasMoreLines

public boolean hasMoreLines()
Returns true if this text line iterator has more lines.


getNextLine

public java.lang.String getNextLine()
                             throws org.sourcejammer.server.make.EndOfSourceException
Returns the next line, if there are more lines to return.


skipLines

public void skipLines(int numLines)
               throws org.sourcejammer.server.make.EndOfSourceException
Skips the requested number of lines.