org.sourcejammer.server.source
Class AddLines
java.lang.Object
|
+--org.sourcejammer.server.source.AddLines
- All Implemented Interfaces:
- java.io.Serializable, TextBuildStepInf
- public class AddLines
- extends java.lang.Object
- implements java.io.Serializable, TextBuildStepInf
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
moLines
private TextLineIterator moLines
miSize
private int miSize
mcaEndOfLine
private char[] mcaEndOfLine
miNumChars
private int miNumChars
AddLines
public AddLines()
setLineIterator
public void setLineIterator(TextLineIterator lines)
setSize
public void setSize(int i)
setNumChars
public void setNumChars(int i)
setEndOfLine
public void setEndOfLine(char[] endOfLine)
build
public TextLineAdder build(TextLineIterator parent,
TextLineAdder buildSoFar)
throws InvalidSourceException
- Description copied from interface:
TextBuildStepInf
- Executes this build step on TextLineAdder buildSoFar.
- Specified by:
build
in interface TextBuildStepInf
- Parameters:
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
size
public int size()
- Specified by:
size
in interface TextBuildStepInf
numChars
public int numChars()
- Specified by:
numChars
in interface TextBuildStepInf
Copyright © 2003 Soucejammer project.