Package org.pathvisio.libgpml.io
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 Summary
Modifier and Type Method Description void
doExport(java.io.File file, PathwayModel pathwayModel)
Exports the given pathway to the filevoid
doExport(java.io.File file, PathwayModel pathwayModel, int zoom)
Exports the given pathway to the fileMethods inherited from interface org.pathvisio.libgpml.io.PathwayModelIO
getExtensions, getName, getWarnings
-
Method Details
-
doExport
Exports the given pathway to the file- Parameters:
file
- the file to export topathwayModel
- 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
Exports the given pathway to the file- Parameters:
file
- the file to export topathwayModel
- the pathway model to exportzoom
- 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.
-