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. $Revision: 1.22 $ $Date: 2003/06/30 21:59:34 $


Field Summary
 
Fields inherited from class org.argouml.uml.reveng.FileImportSupport
attribute, configPanel, datatype, separator, theFile
 
Fields inherited from interface org.argouml.application.api.Pluggable
PLUGIN_PREFIX, PLUGIN_TITLE, PLUGIN_VENDOR
 
Fields inherited from interface org.argouml.application.api.ArgoModule
cat, MODULEFILENAME, MODULEFILENAME_ALTERNATE
 
Constructor Summary
JavaImport()
           
 
Method Summary
 java.lang.String getModuleDescription()
          Textual description of the module.
 java.lang.String getModuleKey()
           
 java.lang.String getModuleName()
          Display name of the module.
 SuffixFilter[] getSuffixFilters()
          Provides an array of suffix filters for the module.
 void parseFile(Project p, java.lang.Object o, DiagramInterface diagram, Import _import)
          This method parses 1 Java file.
 
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
 

Constructor Detail

JavaImport

public JavaImport()
Method Detail

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.


getModuleDescription

public java.lang.String getModuleDescription()
Textual description of the module.


getModuleKey

public java.lang.String getModuleKey()


ArgoUML © 1996-2003 (20040229)ArgoUML Project HomeArgoUML Cookbook