org.argouml.uml.reveng.java
Class JavaImport
java.lang.Object
org.argouml.uml.reveng.FileImportSupport
org.argouml.uml.reveng.java.JavaImport
- All Implemented Interfaces:
- ArgoModule, Pluggable, PluggableImport
- public class JavaImport
- extends FileImportSupport
This is the main class for Java reverse engineering. It's based
on the Antlr Java example.
Field Summary |
private static org.apache.log4j.Logger |
cat
logger |
Methods inherited from class org.argouml.uml.reveng.FileImportSupport |
getChooser, getConfigPanel, getLayout, getList, getModuleAuthor, getModulePopUpActions, getModuleVersion, inContext, initializeModule, isModuleEnabled, isParseable, setModuleEnabled, shutdownModule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
private static org.apache.log4j.Logger cat
- logger
JavaImport
public JavaImport()
parseFile
public void parseFile(Project p,
java.lang.Object o,
DiagramInterface diagram,
Import _import)
throws java.lang.Exception
- This method parses 1 Java file.
- Specified by:
parseFile
in interface PluggableImport
- Overrides:
parseFile
in class FileImportSupport
- Throws:
java.lang.Exception
- Parser exception.
getSuffixFilters
public SuffixFilter[] getSuffixFilters()
- Provides an array of suffix filters for the module.
- Specified by:
getSuffixFilters
in class FileImportSupport
- Returns:
- SuffixFilter[] files with these suffixes will be processed.
getModuleName
public java.lang.String getModuleName()
- Display name of the module.
- Returns:
- the module name
getModuleDescription
public java.lang.String getModuleDescription()
- Textual description of the module.
- Returns:
- the module description
getModuleKey
public java.lang.String getModuleKey()
- Description copied from interface:
ArgoModule
- The module identifying key
- Returns:
- the string key the module uses to identify itself