|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.keg.importer.AbstractImporter
public abstract class AbstractImporter
The base class for a KEG importer.
Constructor Summary | |
---|---|
AbstractImporter()
|
Method Summary | ||
---|---|---|
|
addOption(ImporterOption<T> option)
Adds an option to the importer. |
|
void |
doDiagramPostProcess(IPath diagramPath,
IPropertyHolder theOptions)
Performs a post process on the created KEG diagram file using the given options; is only called when a diagram file is created automatically in the import process. |
|
void |
doModelPostProcess(IPath modelPath,
IPropertyHolder theOptions)
Performs a post processing on the created KEG model instance file using the given options. |
|
abstract String |
getDefaultExtension()
Returns the default file extension for this exporter. |
|
abstract String[] |
getExtensions()
Returns the importers supported file extensions. |
|
abstract String |
getName()
Returns the name of the file format the exporter is exporting to. |
|
List<ImporterOption<?>> |
getOptions()
Returns the options that are available for this importer. |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.keg.importer.IImporter |
---|
doImport |
Constructor Detail |
---|
public AbstractImporter()
Method Detail |
---|
public abstract String getName()
public abstract String getDefaultExtension()
public abstract String[] getExtensions()
public List<ImporterOption<?>> getOptions()
public <T> void addOption(ImporterOption<T> option)
T
- the option value typeoption
- the optionpublic String toString()
toString
in class Object
public void doModelPostProcess(IPath modelPath, IPropertyHolder theOptions)
doModelPostProcess
in interface IImporter
modelPath
- the model file paththeOptions
- the optionspublic void doDiagramPostProcess(IPath diagramPath, IPropertyHolder theOptions)
doDiagramPostProcess
in interface IImporter
diagramPath
- the diagram file paththeOptions
- the options
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |