|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.sourcejammer.server.source.SimpleTextLineIterator
| Constructor Summary | |
SimpleTextLineIterator(java.util.Vector vecLines)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleTextLineIterator(java.util.Vector vecLines)
| Method Detail |
public boolean hasMoreLines()
TextLineIteratorhasMoreLines in interface TextLineIterator
public java.lang.String getNextLine()
throws EndOfSourceException
TextLineIteratorgetNextLine in interface TextLineIteratororg.sourcejammer.server.source.TextLineIteratorEndOfSourceException - -- if there are no more lines to return.
public void skipLines(int numLines)
throws EndOfSourceException
TextLineIteratorskipLines in interface TextLineIteratororg.sourcejammer.server.source.TextLineIteratorEndOfSourceException - -- if skipping requested number of lines
would point index past end of source file.
|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||