Click or drag to resize

Porter Methods

The Porter type exposes the following members.

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) 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.
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