de.cau.cs.kieler.keg.importer
Interface IImporter

All Known Implementing Classes:
AbstractImporter, DotImporter, GraphMLImporter, KGraphImporter, OGMLImporter

public interface IImporter

The interface for all KEG importers.

Rating red

Method Summary
 void doDiagramPostProcess(IPath diagramPath, IPropertyHolder options)
          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.
 Node doImport(InputStream inputStream, IPropertyHolder options, IKielerProgressMonitor monitor)
          Performs the actual KEG import using the given options and retrieving the source from the stream.
 void doModelPostProcess(IPath modelPath, IPropertyHolder options)
          Performs a post processing on the created KEG model instance file using the given options.
 

Method Detail

doImport

Node doImport(InputStream inputStream,
              IPropertyHolder options,
              IKielerProgressMonitor monitor)
Performs the actual KEG import using the given options and retrieving the source from the stream.

Parameters:
inputStream - the input stream
options - the import options
monitor - the progress monitor
Returns:
the KEG graph

doModelPostProcess

void doModelPostProcess(IPath modelPath,
                        IPropertyHolder options)
Performs a post processing on the created KEG model instance file using the given options.

Parameters:
modelPath - the model file path
options - the options

doDiagramPostProcess

void doDiagramPostProcess(IPath diagramPath,
                          IPropertyHolder options)
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.

Parameters:
diagramPath - the diagram file path
options - the options