Interface PathwayModelExporter

All Superinterfaces:
PathwayModelIO
All Known Implementing Classes:
AbstractPathwayModelFormat, GPMLFormat

public interface PathwayModelExporter
extends PathwayModelIO
Interface for an exporter that writes a pathway to a file.
Author:
unknown
  • Method Details

    • doExport

      void doExport​(java.io.File file, PathwayModel pathwayModel) throws ConverterException
      Exports the given pathway to the file
      Parameters:
      file - the file to export to
      pathwayModel - the pathway model to export
      Throws:
      ConverterException - when there is a fatal conversion problem. Implementations should only throw in case there is a non-recoverable error. Otherwise, it should emit a warning.
    • doExport

      void doExport​(java.io.File file, PathwayModel pathwayModel, int zoom) throws ConverterException
      Exports the given pathway to the file
      Parameters:
      file - the file to export to
      pathwayModel - the pathway model to export
      zoom - the zoom factor.
      Throws:
      ConverterException - when there is a fatal conversion problem. Implementations should only throw in case there is a non-recoverable error. Otherwise, it should emit a warning.