org.sourcejammer.project.controller
Class ChangeListMaker
java.lang.Object
|
+--org.sourcejammer.project.controller.ChangeListMaker
- public class ChangeListMaker
- extends java.lang.Object
Title: $FileName: ChangeListMaker.java$
- Version:
- $VerNum: 6$
- Author:
- $AuthorName: Rob MacGrogan$
$Description: Generates change lists from one or more Labels.$
$KeyWordsOff: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newID
private long newID
oldID
private long oldID
newLabel
private Label newLabel
oldLabel
private Label oldLabel
newSorted
private java.util.Hashtable newSorted
oldSorted
private java.util.Hashtable oldSorted
library
private NodeLibrary library
eolType
private int eolType
eol
private java.lang.String eol
removed
private java.util.ArrayList removed
added
private java.util.ArrayList added
modified
private java.util.ArrayList modified
target
private java.io.PrintStream target
STAR_LINE
private static final java.lang.String STAR_LINE
- See Also:
- Constant Field Values
TAB
private static final java.lang.String TAB
- See Also:
- Constant Field Values
COMPARED_TO
private static final java.lang.String COMPARED_TO
- See Also:
- Constant Field Values
GEN_BY
private static final java.lang.String GEN_BY
- See Also:
- Constant Field Values
TITLE
private static final java.lang.String TITLE
- See Also:
- Constant Field Values
LINE_CHAR
private static final char LINE_CHAR
- See Also:
- Constant Field Values
MODULES
private static final java.lang.String MODULES
- See Also:
- Constant Field Values
ADDED
private static final java.lang.String ADDED
- See Also:
- Constant Field Values
CHANGED
private static final java.lang.String CHANGED
- See Also:
- Constant Field Values
REMOVED
private static final java.lang.String REMOVED
- See Also:
- Constant Field Values
ChangeListMaker
public ChangeListMaker(NodeLibrary lib)
generateList
public void generateList()
throws FileAccessException,
SecurityException,
FileDoesNotExistException,
NoSuchVersionException
FileAccessException
SecurityException
FileDoesNotExistException
NoSuchVersionException
sortLabels
private void sortLabels()
sortLabel
private java.util.Hashtable sortLabel(Label lbl)
setRemovedAddedModified
private void setRemovedAddedModified()
sortMap
private java.util.ArrayList sortMap(java.util.Hashtable map)
sortListsInMap
private void sortListsInMap(java.util.Hashtable map)
addBeanToMap
private void addBeanToMap(org.sourcejammer.project.controller.LabelVersionMappingBean bean,
java.util.Hashtable map)
writeHeader
private void writeHeader()
throws FileAccessException
FileAccessException
writeSectionHeader
private void writeSectionHeader(java.lang.String section)
print
private void print()
print
private void print(java.lang.String s)
print
private void print(char[] ch)
tabPrint
private void tabPrint(java.lang.String s)
twoTabPrint
private void twoTabPrint(java.lang.String s)
twoTabBulletPrint
private void twoTabBulletPrint(java.lang.String s)
writeRemoved
private void writeRemoved()
throws FileAccessException,
SecurityException,
FileDoesNotExistException
FileAccessException
SecurityException
FileDoesNotExistException
writeAdded
private void writeAdded()
throws FileAccessException,
SecurityException,
FileDoesNotExistException,
NoSuchVersionException
FileAccessException
SecurityException
FileDoesNotExistException
NoSuchVersionException
writeModified
private void writeModified()
throws FileAccessException,
SecurityException,
FileDoesNotExistException,
NoSuchVersionException
FileAccessException
SecurityException
FileDoesNotExistException
NoSuchVersionException
getProjectPath
private java.lang.String getProjectPath(java.lang.String fullPath)
setNewLabel
public void setNewLabel(Label newLabel,
long verId)
- Sets the newLabel.
- Parameters:
newLabel
- The newLabel to set
setOldLabel
public void setOldLabel(Label oldLabel,
long verId)
- Sets the oldLabel.
- Parameters:
oldLabel
- The oldLabel to set
setTarget
public void setTarget(java.io.PrintStream target)
- Sets the target.
- Parameters:
target
- The target to set
setEolType
public void setEolType(int eolType)
- Sets the eolType.
- Parameters:
eolType
- The eolType to set
Copyright © 2003 Soucejammer project.