![]() | Porter Class |
public static class Porter
The Porter type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Export(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. |
![]() ![]() | Export(INamedGraph, ListString) | Exports the given named graph to a file with the given filename. The format is determined by the file extension. Currently available are: .grs/.grsi or .gxl or .xmi. Optionally suffixed by .gz; in this case they are saved gzipped. Any errors will be reported by exception. |
![]() ![]() | Import(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. |
![]() ![]() | Import(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. |