public class PlantUMLClassDiagramGenerator extends Object
| Constructor and Description |
|---|
PlantUMLClassDiagramGenerator(ClassLoader paramClassloader,
List<String> paramScanPackages,
List<String> paramHideClasses,
boolean paramHideFields,
boolean paramHideMethods)
Instantiates a new Plant UML diagram generator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
generateDiagramText()
Generate the class diagram string for all classes in the configured packages.
|
public PlantUMLClassDiagramGenerator(ClassLoader paramClassloader, List<String> paramScanPackages, List<String> paramHideClasses, boolean paramHideFields, boolean paramHideMethods)
paramClassloader - - ClassLoader - the ClassLoader used for loading all
diagram classesparamScanPackages - - List<String> - all the packages which
directly contained classes are the base for the
class diagramparamHideClasses - - List<String> - the full qualified class
names which should be hidden in the resulting
diagram (they are not excluded from the diagram,
they are just hidden)paramHideFields - - boolean - true, if fields should be hidden, false,
if notparamHideMethods - - boolean - true, if methods should be hidden,
false, if notpublic String generateDiagramText() throws ClassNotFoundException, IOException
IOException - - thrown if a class or jar File could not be
readClassNotFoundException - - thrown if a class in a package could not be
found or if a package does not contain any
class informationCopyright © 2019. All rights reserved.