Package pl.gdela.socomo
Class SocomoFacade
java.lang.Object
pl.gdela.socomo.SocomoFacade
public class SocomoFacade
extends java.lang.Object
Facade for easy invocation of whole socomo flow, from bytecode analysis up to building dependency visualiser.
-
Constructor Summary
Constructors Constructor Description SocomoFacade(java.lang.String moduleName) -
Method Summary
Modifier and Type Method Description voidanalyzeBytecode(java.io.File input)Analyzes bytecode found in given input.voidchooseLevel(java.lang.String levelName)Choose level to be displayed on the diagram.voiddisplay()Opens created visualizer file in the browser.voidguessLevel()Guesses what will be the most interesting level.voidvisualizeInto(java.io.File htmlFile, java.io.File dataFile)Builds the composition visualizer into given files.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SocomoFacade
public SocomoFacade(java.lang.String moduleName)
-
-
Method Details
-
analyzeBytecode
public void analyzeBytecode(java.io.File input)Analyzes bytecode found in given input.- Parameters:
input-*.jarfile or directory with*.classfiles- See Also:
BytecodeAnalyzer
-
guessLevel
public void guessLevel()Guesses what will be the most interesting level.- See Also:
LevelGuesser
-
chooseLevel
public void chooseLevel(java.lang.String levelName)Choose level to be displayed on the diagram.- Parameters:
levelName- the name of the package
-
visualizeInto
public void visualizeInto(java.io.File htmlFile, java.io.File dataFile)Builds the composition visualizer into given files.- Parameters:
htmlFile- the html output file which opened in a browser starts the visualizer, typically namedsocomo.htmldataFile- the data output file that contains detailed data about analyzed code, typically namedsocomo.data
-
display
public void display()Opens created visualizer file in the browser.
-