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 Object
- implements Builder
Handles the building of a diff information object and the firing of
events when complete objects are built.
- Author:
- Milos Kleint
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 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(String line,
boolean isErrorMessage)
- Specified by:
parseLine
in interface Builder
processFile
protected void processFile(String line)
processRCSfile
protected void processRCSfile(String line)
processRevision
protected void processRevision(String line)
processParameters
protected void processParameters(String line)
createDiffInformation
public DiffInformation createDiffInformation()
assignType
protected void assignType(DiffInformation.DiffChange change,
String line)
processDifferences
protected void processDifferences(String line)
parseEnhancedMessage
public void parseEnhancedMessage(String key,
Object value)
- Specified by:
parseEnhancedMessage
in interface Builder
Copyright © 2011. All Rights Reserved.