|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccvisu.ReaderData
ccvisu.ReaderDataGraph
ccvisu.ReaderDataGraphCVS
Reader for CVS log files. Extracts the co-change graph from the CVS log info.
Nested Class Summary | |
private class |
ReaderDataGraphCVS.Revision
Represents a CVS revision entry (an abstraction of it). |
Nested classes inherited from class ccvisu.ReaderDataGraph |
ReaderDataGraph.GraphEdgeString |
Field Summary | |
private int |
timeWindow
Time-window constant for transaction recovery, in milli-seconds. |
Fields inherited from class ccvisu.ReaderDataGraph |
endl |
Fields inherited from class ccvisu.ReaderData |
in |
Constructor Summary | |
ReaderDataGraphCVS(java.io.BufferedReader in,
int timeWindow)
Constructor. |
Method Summary | |
private java.lang.Long |
parseDate(java.lang.String dateStr)
Parses the date entry. |
protected java.util.Vector |
readEdges()
Reads the edges of a graph in CVS log format from stream reader in ,
and stores them in a list (of GraphEdgeString elements). |
private java.util.Vector |
readRevisionList()
Parses the CVS log data and extracts revisions. |
private void |
recoverTransactions(java.util.Vector revisionList)
Recovers the change transactions for the co-change graph from the revision information, i.e., it assignes the transaction ids for the revisions. |
Methods inherited from class ccvisu.ReaderDataGraph |
read, readGraph |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int timeWindow
Constructor Detail |
public ReaderDataGraphCVS(java.io.BufferedReader in, int timeWindow)
in
- Stream reader object.timeWindow
- Time window for transaction recovery, in milli-seconds
(default: 180'000).Method Detail |
protected java.util.Vector readEdges()
in
,
and stores them in a list (of GraphEdgeString
elements).
readEdges
in class ReaderDataGraph
private java.lang.Long parseDate(java.lang.String dateStr)
dateStr
- The CVS date entry string.
null
if dateStr
is not a valid date entry.private java.util.Vector readRevisionList()
private void recoverTransactions(java.util.Vector revisionList)
revisionList
- is a list of revisions. IN/OUT parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |