|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.server.source.SkipLines
Field Summary | |
private int |
miNumLinesToSkip
|
Constructor Summary | |
SkipLines()
|
Method Summary | |
TextLineAdder |
build(TextLineIterator parent,
TextLineAdder buildSoFar)
Executes this build step on TextLineAdder buildSoFar. |
int |
numChars()
|
void |
setNumLinesToSkip(int i)
|
int |
size()
Always returns 0 since this build step adds no chars to output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int miNumLinesToSkip
Constructor Detail |
public SkipLines()
Method Detail |
public int size()
size
in interface TextBuildStepInf
public int numChars()
numChars
in interface TextBuildStepInf
public void setNumLinesToSkip(int i)
public TextLineAdder build(TextLineIterator parent, TextLineAdder buildSoFar) throws InvalidSourceException
TextBuildStepInf
build
in interface TextBuildStepInf
parent
- -- TextLineIterator object of parent, or old version of this
source file.buildSoFar
- -- The new file being built. This object is modified
by either adding, skipping, or reading text lines
from parent
InvalidSourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |