|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.client.net.TSConceptGraphs
anl.aida.client.net.NetworkOutputter
public class NetworkOutputter
Class for creating text output of data contained in graphs displayed.
Field Summary | |
---|---|
private static java.lang.String |
DELIMITER
Delimiter for file outputs |
private static java.lang.String |
directory
Directory for placing file outputs |
private java.util.Map<anl.aida.util.DateRange,java.lang.Integer> |
documents
The document counts arranged by DateRange |
private java.util.List<anl.aida.util.DateRange> |
ranges
List of DataRange objects |
Fields inherited from class anl.aida.client.net.TSConceptGraphs |
---|
bean, cache, docOp, graphs, msg |
Constructor Summary | |
---|---|
NetworkOutputter(Cache cache,
VizPropertyBean bean,
TSConceptGraphs graphs)
Constructor for creating network data output files. |
Method Summary | |
---|---|
private static boolean |
deleteDirContent(java.io.File dir)
Method deletes directory content prior to filling it with new output files. |
private void |
determineGraphRanges()
Method to determine the graph time range |
private void |
populateGraph(anl.aida.util.DateRange range)
Method to place relevant graphs for the time range investigated. |
private void |
readGraphs()
Method to read graph data for output. |
static void |
setDELIMITER(java.lang.String delimiter)
|
static void |
setDirectory(java.lang.String directory)
|
private void |
writeOutput(java.util.Date start,
java.util.Date end,
java.util.Map<java.lang.String,java.lang.Integer> rangeValues,
java.lang.String type)
Method writes data out to a specific file. |
void |
writeOutputOut()
Method to control the graph population process as well as file outputs. |
private void |
writeSummary(java.util.Date start,
java.util.Date end,
int count)
Output provided for the summary of the total number of documents per time range |
Methods inherited from class anl.aida.client.net.TSConceptGraphs |
---|
getDocSetOp, getGraph, getRanger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List<anl.aida.util.DateRange> ranges
private static java.lang.String DELIMITER
private static java.lang.String directory
private java.util.Map<anl.aida.util.DateRange,java.lang.Integer> documents
Constructor Detail |
---|
public NetworkOutputter(Cache cache, VizPropertyBean bean, TSConceptGraphs graphs)
cache
- the cache of databean
- the visualization beangraphs
- the graphs containing term nodes and linksMethod Detail |
---|
public void writeOutputOut()
private void populateGraph(anl.aida.util.DateRange range)
range
- the DateRange object.public static void setDirectory(java.lang.String directory)
private void determineGraphRanges()
private void readGraphs()
public static void setDELIMITER(java.lang.String delimiter)
private static boolean deleteDirContent(java.io.File dir)
dir
- the directory
private void writeSummary(java.util.Date start, java.util.Date end, int count)
start
- the start dateend
- the end datecount
- the total count of documents for the time rangeprivate void writeOutput(java.util.Date start, java.util.Date end, java.util.Map<java.lang.String,java.lang.Integer> rangeValues, java.lang.String type)
start
- the start data of a DateRangeend
- the end date of a DateRangerangeValues
- values based on combined link label and their document count valuestype
- the type of file output (nodes or links)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |