de.cau.cs.kieler.keg.importer.importer
Class GraphMLImporter

java.lang.Object
  extended by de.cau.cs.kieler.keg.importer.AbstractImporter
      extended by de.cau.cs.kieler.keg.importer.importer.GraphMLImporter
All Implemented Interfaces:
IImporter

public class GraphMLImporter
extends AbstractImporter

A KEG importer for the GraphML file format.

Rating red

Constructor Summary
GraphMLImporter()
           
 
Method Summary
 Node doImport(InputStream inputStream, IPropertyHolder options, IKielerProgressMonitor monitor)
          Performs the actual KEG import using the given options and retrieving the source from the stream.
 String getDefaultExtension()
          Returns the default file extension for this exporter.
 String[] getExtensions()
          Returns the importers supported file extensions.
 String getName()
          Returns the name of the file format the exporter is exporting to.
 
Methods inherited from class de.cau.cs.kieler.keg.importer.AbstractImporter
addOption, doDiagramPostProcess, doModelPostProcess, getOptions, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphMLImporter

public GraphMLImporter()
Method Detail

getName

public String getName()
Returns the name of the file format the exporter is exporting to.

Specified by:
getName in class AbstractImporter
Returns:
the name of the file format

getDefaultExtension

public String getDefaultExtension()
Returns the default file extension for this exporter.

Specified by:
getDefaultExtension in class AbstractImporter
Returns:
the default file extension

getExtensions

public String[] getExtensions()
Returns the importers supported file extensions.

Specified by:
getExtensions in class AbstractImporter
Returns:
the supported file extensions

doImport

public 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