kaapo.filemanager
Class EPSExport

java.lang.Object
  extended by kaapo.filemanager.ExportPlugin
      extended by kaapo.filemanager.EPSExport

public class EPSExport
extends ExportPlugin

Author:
iheikkin

Constructor Summary
EPSExport()
           
 
Method Summary
 void export(Project project, DiagramWrapper visibleDiagram, File file, Component component)
          Exports the project object given as a parameter.
 String getFileExtension()
          Returns the file extension used by subclassing plugin.
 String getName()
          Returns the name of subclassing plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPSExport

public EPSExport()
Method Detail

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 export
visibleDiagram - the current visible diagram
file - the file to be opened for reading
component - 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