kaapo.filemanager
Class EPSExport
java.lang.Object
kaapo.filemanager.ExportPlugin
kaapo.filemanager.EPSExport
public class EPSExport
- extends ExportPlugin
- Author:
- iheikkin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPSExport
public EPSExport()
getName
public String getName()
- Description copied from class:
ExportPlugin
- Returns the name of subclassing plugin.
- Specified by:
getName in class ExportPlugin
- Returns:
- plugin name
getFileExtension
public String getFileExtension()
- Description copied from class:
ExportPlugin
- Returns the file extension used by subclassing plugin.
- Specified by:
getFileExtension in class ExportPlugin
- Returns:
- file extension
export
public void export(Project project,
DiagramWrapper visibleDiagram,
File file,
Component component)
throws IOException,
ComponentNotSupportedException
- Description copied from class:
ExportPlugin
- Exports the project object given as a parameter. The implementing
classes should note that the visible diagram parameter may be null.
- Specified by:
export in class ExportPlugin
- Parameters:
project - the project to exportvisibleDiagram - the current visible diagramfile - the file to be opened for readingcomponent - the component to show message dialogs on
- Throws:
IOException - if an I/O error occurs
ComponentNotSupportedException - ExportPlugin may throw this
exception if it cannot handle some object included in the project