src
Class DataProcessor
java.lang.Object
src.DataProcessor
public class DataProcessor
- extends java.lang.Object
Method Summary |
void |
aggregateFile()
|
void |
colorAllocation(PackageNode packageNode,
int x_before,
int x_after,
int y_before,
int y_after,
int z_before,
int z_after)
|
void |
constructSpecialBranchTree(VisNode futureRoot,
java.util.ArrayList<java.util.ArrayList<java.lang.String>> branches)
|
void |
constructTree(VisNode visRoot,
int currentLevel)
|
java.lang.String |
keepTopLevels(java.lang.String s,
int level)
|
java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
rawFileProcess(java.lang.String[] theFile)
|
java.lang.String |
truncateLowLevels(java.lang.String s,
int level,
int MinTreeLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
public java.lang.String[] file
rawBranches
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> rawBranches
MinTreeLevel
public int MinTreeLevel
DataProcessor
public DataProcessor(java.lang.String[] file)
constructTree
public void constructTree(VisNode visRoot,
int currentLevel)
rawFileProcess
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> rawFileProcess(java.lang.String[] theFile)
keepTopLevels
public java.lang.String keepTopLevels(java.lang.String s,
int level)
truncateLowLevels
public java.lang.String truncateLowLevels(java.lang.String s,
int level,
int MinTreeLevel)
aggregateFile
public void aggregateFile()
colorAllocation
public void colorAllocation(PackageNode packageNode,
int x_before,
int x_after,
int y_before,
int y_after,
int z_before,
int z_after)
constructSpecialBranchTree
public void constructSpecialBranchTree(VisNode futureRoot,
java.util.ArrayList<java.util.ArrayList<java.lang.String>> branches)