|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaapo.filemanager.ExportPlugin
public abstract class ExportPlugin
An abstract class to be subclassed by all export plugins.
Constructor Summary | |
---|---|
ExportPlugin()
|
Method Summary | |
---|---|
abstract void |
export(Project project,
DiagramWrapper visibleDiagram,
File file,
Component component)
Exports the project object given as a parameter. |
abstract String |
getFileExtension()
Returns the file extension used by subclassing plugin. |
abstract 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 |
---|
public ExportPlugin()
Method Detail |
---|
public abstract String getName()
public abstract String getFileExtension()
public abstract void export(Project project, DiagramWrapper visibleDiagram, File file, Component component) throws IOException, ComponentNotSupportedException
project
- the project to exportvisibleDiagram
- the current visible diagramfile
- the file to be opened for readingcomponent
- the component to show message dialogs on
IOException
- if an I/O error occurs
ComponentNotSupportedException
- ExportPlugin may throw this
exception if it cannot handle some object included in the project
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |