kaapo.filemanager
Class ToStringExport
java.lang.Object
kaapo.filemanager.ExportPlugin
kaapo.filemanager.ToStringExport
public class ToStringExport
- extends ExportPlugin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToStringExport
public ToStringExport()
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