Click or drag to resize

Porter Class

Import and export support for graphs.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.libGrPorter

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 4.5
Syntax
C#
public class Porter

The Porter type exposes the following members.

Constructors
  NameDescription
Public methodPorter
Initializes a new instance of the Porter class
Top
Methods
  NameDescription
Public methodStatic memberExport(IGraph, ListString)
Exports the given graph to a file with the given filename. The format is determined by the file extension. Currently available is: .gxl; the format .grs/.grsi needs the named graph export. Optionally suffixed by .gz; in this case they are saved gzipped. Any errors will be reported by exception.
Public methodStatic memberExport(INamedGraph, ListString)
Public methodStatic memberImport(IBackend, ListString, IActions)
Imports a graph from the given files. If the filenames only specify a model, the graph is empty. The format is determined by the file extensions. Currently available are: .grs/.grsi or .gxl or .ecore with .xmi. Optionally suffixed by .gz; in this case they are expected to be gzipped. Any error will be reported by exception.
Public methodStatic memberImport(String, IBackend, IGraphModel, IActions)
Imports a graph from the given file. The format is determined by the file extension. Any errors will be reported by exception.
Top
See Also