|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.controller.ChangeListMaker
Title: $FileName: ChangeListMaker.java$
Nested Class Summary | |
private static class |
ChangeListMaker.PathAndFile
|
Field Summary | |
private java.util.ArrayList |
added
|
private static java.lang.String |
ADDED
|
private static java.lang.String |
CHANGED
|
private static java.lang.String |
COMPARED_TO
|
private java.lang.String |
eol
|
private int |
eolType
|
private static java.lang.String |
GEN_BY
|
private NodeLibrary |
library
|
private static char |
LINE_CHAR
|
private java.util.ArrayList |
modified
|
private static java.lang.String |
MODULES
|
private java.lang.String |
newComment
|
private long |
newID
|
private Label |
newLabel
|
private java.util.Hashtable |
newSorted
|
private long |
oldID
|
private Label |
oldLabel
|
private java.util.Hashtable |
oldSorted
|
private java.util.ArrayList |
removed
|
private static java.lang.String |
REMOVED
|
private static java.lang.String |
STAR_LINE
|
private static java.lang.String |
TAB
|
private java.io.PrintStream |
target
|
private static java.lang.String |
TITLE
|
Constructor Summary | |
ChangeListMaker(NodeLibrary lib)
|
Method Summary | |
private void |
addBeanToMap(org.sourcejammer.project.controller.LabelVersionMappingBean bean,
java.util.Hashtable map)
|
void |
generateList()
|
private java.lang.String |
getProjectPath(java.lang.String fullPath)
|
private void |
print()
|
private void |
print(char[] ch)
|
private void |
print(java.lang.String s)
|
void |
setEolType(int eolType)
Sets the eolType. |
void |
setNewLabel(Label newLabel,
long verId)
Sets the newLabel. |
void |
setNewLabel(Label newLabel,
java.lang.String comment)
Sets the newLabel. |
void |
setOldLabel(Label oldLabel,
long verId)
Sets the oldLabel. |
private void |
setRemovedAddedModified()
|
void |
setTarget(java.io.PrintStream target)
Sets the target. |
private java.util.Hashtable |
sortLabel(Label lbl)
|
private void |
sortLabels()
|
private void |
sortListsInMap(java.util.Hashtable map)
|
private java.util.ArrayList |
sortMap(java.util.Hashtable map)
|
private void |
tabPrint(java.lang.String s)
|
private void |
twoTabBulletPrint(java.lang.String s)
|
private void |
twoTabPrint(java.lang.String s)
|
private void |
writeAdded()
|
private void |
writeHeader()
|
private void |
writeModified()
|
private void |
writeRemoved()
|
private void |
writeSectionHeader(java.lang.String section)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private long newID
private java.lang.String newComment
private long oldID
private Label newLabel
private Label oldLabel
private java.util.Hashtable newSorted
private java.util.Hashtable oldSorted
private NodeLibrary library
private int eolType
private java.lang.String eol
private java.util.ArrayList removed
private java.util.ArrayList added
private java.util.ArrayList modified
private java.io.PrintStream target
private static final java.lang.String STAR_LINE
private static final java.lang.String TAB
private static final java.lang.String COMPARED_TO
private static final java.lang.String GEN_BY
private static final java.lang.String TITLE
private static final char LINE_CHAR
private static final java.lang.String MODULES
private static final java.lang.String ADDED
private static final java.lang.String CHANGED
private static final java.lang.String REMOVED
Constructor Detail |
public ChangeListMaker(NodeLibrary lib)
Method Detail |
public void generateList() throws FileAccessException, SecurityException, FileDoesNotExistException, NoSuchVersionException
FileAccessException
SecurityException
FileDoesNotExistException
NoSuchVersionException
private void sortLabels()
private java.util.Hashtable sortLabel(Label lbl)
private void setRemovedAddedModified()
private java.util.ArrayList sortMap(java.util.Hashtable map)
private void sortListsInMap(java.util.Hashtable map)
private void addBeanToMap(org.sourcejammer.project.controller.LabelVersionMappingBean bean, java.util.Hashtable map)
private void writeHeader() throws FileAccessException
FileAccessException
private void writeSectionHeader(java.lang.String section)
private void print()
private void print(java.lang.String s)
private void print(char[] ch)
private void tabPrint(java.lang.String s)
private void twoTabPrint(java.lang.String s)
private void twoTabBulletPrint(java.lang.String s)
private void writeRemoved() throws FileAccessException, SecurityException, FileDoesNotExistException
FileAccessException
SecurityException
FileDoesNotExistException
private void writeAdded() throws FileAccessException, SecurityException, FileDoesNotExistException, NoSuchVersionException
FileAccessException
SecurityException
FileDoesNotExistException
NoSuchVersionException
private void writeModified() throws FileAccessException, SecurityException, FileDoesNotExistException, NoSuchVersionException
FileAccessException
SecurityException
FileDoesNotExistException
NoSuchVersionException
private java.lang.String getProjectPath(java.lang.String fullPath)
public void setNewLabel(Label newLabel, long verId)
newLabel
- The newLabel to setpublic void setNewLabel(Label newLabel, java.lang.String comment)
newLabel
- The newLabel to setpublic void setOldLabel(Label oldLabel, long verId)
oldLabel
- The oldLabel to setpublic void setTarget(java.io.PrintStream target)
target
- The target to setpublic void setEolType(int eolType)
eolType
- The eolType to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |