main.progAnal
Class SourceSorter

java.lang.Object
  extended bymain.progAnal.SourceSorter

public class SourceSorter
extends Object

Class to take java source code file as input and output ArrayList containing hierarchical breakdown of code into methods, branches, sub-branches, etc

Version:
090607
Author:
Craig Bishop

Constructor Summary
SourceSorter()
          Constructor for objects of class SourceBreakDown
 
Method Summary
 RoleHolder getRoleHolder()
           
 LinkedHashMap sortSource(String fileName)
          Method to break down input file into ArrayList of Strings with separate entry in list for each level in the code hierarchy.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceSorter

public SourceSorter()
Constructor for objects of class SourceBreakDown

Method Detail

sortSource

public LinkedHashMap sortSource(String fileName)
Method to break down input file into ArrayList of Strings with separate entry in list for each level in the code hierarchy.

Parameters:
fileName - String giving name of file to be checked
Returns:
LinkedHashMap containing a breakdown of the input source code

getRoleHolder

public RoleHolder getRoleHolder()