org.apache.commons.jrcs.rcs
Class DeltaText
java.lang.Object
org.apache.commons.jrcs.rcs.DeltaText
class DeltaText
- extends java.lang.Object
RCS DeltaText _text_ container.
Constructor Summary |
DeltaText(Node root,
Node prev,
boolean annotate)
Create a new DeltaTextText set wich may later be applied to some revision. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deltaStack
private java.util.Stack<DeltaTextLine> deltaStack
root
private Node root
prev
private Node prev
annotate
private boolean annotate
DeltaText
DeltaText(Node root,
Node prev,
boolean annotate)
- Create a new DeltaTextText set wich may later be applied to some revision.
- Parameters:
root
- Added lines will be annotated to root revision.prev
- Deleted lines will be annotated to prev revision.
addDeltaText
void addDeltaText(DeltaTextLine delta)
- Adds a delta to this revision.
- Parameters:
delta
- the Delta to add.
patch
void patch(java.util.List<Line> lines)
Copyright 2002 the Apache Software Foundation
Copyright ? 1999-2001 Juancarlo A?ez, Caracas, Venezuela.
All rights reserved
. http://www.suigeneris.org/jrcs