|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImportExportPlugin
Interface for plugins which import/export DESModels.
| Method Summary | |
|---|---|
void |
exportFile(java.io.File src,
java.io.File dst)
Export a DESModel into a different format. |
java.lang.String |
getFileDescription()
Return a human readable description of the file format supported by the plugin. |
java.lang.String |
getFileExtension()
Return a string with the file extension of the foreign model format. |
void |
importFile(java.io.File src,
java.io.File dst)
Import a DES model from a different format. |
| Method Detail |
|---|
void exportFile(java.io.File src,
java.io.File dst)
throws FormatTranslationException
DESModel into a different format. The model is provided
as an IDES file. It is OK to overwrite the destination as the user's
permission has been requested.
The persistence of the source file after the method call should not be assumed.
src - a pointer to the IDES file with the DES model to exportdst - a pointer to the file where output should be written
FormatTranslationException - when there is a problem exporting the model
void importFile(java.io.File src,
java.io.File dst)
throws FormatTranslationException
The persistence of the destination file after the method call should not be assumed.
src - a pointer to the file from where the model has to be readdst - a pointer to a file where to output the IDES model
FormatTranslationException - when there is a problem importing the modeljava.lang.String getFileDescription()
java.lang.String getFileExtension()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||