org.apache.commons.jrcs.rcs
Class DeltaText

java.lang.Object
  extended by org.apache.commons.jrcs.rcs.DeltaText

 class DeltaText
extends java.lang.Object

RCS DeltaText _text_ container.


Field Summary
private  boolean annotate
           
private  java.util.Stack<DeltaTextLine> deltaStack
           
private  Node prev
           
private  Node root
           
 
Constructor Summary
DeltaText(Node root, Node prev, boolean annotate)
          Create a new DeltaTextText set wich may later be applied to some revision.
 
Method Summary
(package private)  void addDeltaText(DeltaTextLine delta)
          Adds a delta to this revision.
(package private)  void patch(java.util.List<Line> lines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deltaStack

private java.util.Stack<DeltaTextLine> deltaStack

root

private Node root

prev

private Node prev

annotate

private boolean annotate
Constructor Detail

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.
Method Detail

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