org.netbeans.lib.cvsclient.command.diff
Class SimpleDiffBuilder
java.lang.Object
org.netbeans.lib.cvsclient.command.diff.SimpleDiffBuilder
- All Implemented Interfaces:
- Builder
public class SimpleDiffBuilder
- extends java.lang.Object
- implements Builder
Handles the building of a diff information object and the firing of
events when complete objects are built.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventManager
protected EventManager eventManager
- The event manager to use
diffCommand
protected DiffCommand diffCommand
diffInformation
protected DiffInformation diffInformation
- The diff object that is currently being built
fileDirectory
protected java.lang.String fileDirectory
- The directory in which the file being processed lives. This is
relative to the local directory
readingDiffs
protected boolean readingDiffs
SimpleDiffBuilder
public SimpleDiffBuilder(EventManager eventMan,
DiffCommand diffComm)
outputDone
public void outputDone()
- Specified by:
outputDone
in interface Builder
parseLine
public void parseLine(java.lang.String line,
boolean isErrorMessage)
- Specified by:
parseLine
in interface Builder
processFile
protected void processFile(java.lang.String line)
processRCSfile
protected void processRCSfile(java.lang.String line)
processRevision
protected void processRevision(java.lang.String line)
processParameters
protected void processParameters(java.lang.String line)
createDiffInformation
public DiffInformation createDiffInformation()
assignType
protected void assignType(DiffInformation.DiffChange change,
java.lang.String line)
processDifferences
protected void processDifferences(java.lang.String line)
parseEnhancedMessage
public void parseEnhancedMessage(java.lang.String key,
java.lang.Object value)
- Specified by:
parseEnhancedMessage
in interface Builder