|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jaxodraw.plugin.AbstractJaxoPlugin
net.sf.jaxodraw.plugin.JaxoImportPlugin
net.sf.jaxodraw.io.imports.JaxoImport
net.sf.jaxodraw.io.imports.JaxoImportAxodraw
public final class JaxoImportAxodraw
The class responsible for importing JaxoGraphs from axodraw files.
| Constructor Summary | |
|---|---|
JaxoImportAxodraw()
|
|
| Method Summary | |
|---|---|
java.lang.String |
description()
Return a short description (preferably internationalized) of what this plugin does. |
java.lang.String |
getFileExtension()
Extension to be used for plugin files. |
java.lang.String |
getFileExtensionDescription()
Description to be used for plugin file extensions. |
java.lang.String |
getFormatName()
The name of the plugin (export or import) format. |
java.lang.String |
getShortName()
Return a short name for this plugin. |
JaxoGraph |
importGraph(java.io.InputStream inputStream)
Import a graph from a Reader. |
java.lang.String |
pluginId()
This must return the class name of the plugin (MyPlugin.class.getName()). |
void |
updateLanguage()
Updates the component with the current language as set in the preferences ( JaxoPrefs.PREF_LANGUAGE). |
| Methods inherited from class net.sf.jaxodraw.io.imports.JaxoImport |
|---|
getBuiltInFormats, makeAvailableAtRuntime, version |
| Methods inherited from class net.sf.jaxodraw.plugin.JaxoImportPlugin |
|---|
commitConfiguration, getCharsetName, getConfigurationPanel, importGraph, importGraph, setCharsetName |
| Methods inherited from class net.sf.jaxodraw.plugin.AbstractJaxoPlugin |
|---|
close, close, close, close, getClassName, getFailure, getLang, getLog, getParentComponent, getProperties, getProperty, getProperty, getShortGraphName, hasFailed, isSilent, loadProperties, pluginName, registerDictionary, setFailure, setParentComponent, setProperty, setShortGraphName, setSilent, storeProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxoImportAxodraw()
| Method Detail |
|---|
public java.lang.String getFormatName()
getFormatName in class AbstractJaxoPluginpublic java.lang.String getFileExtension()
getFileExtension in class AbstractJaxoPluginpublic java.lang.String getFileExtensionDescription()
getFileExtensionDescription in class AbstractJaxoPluginpublic java.lang.String getShortName()
public java.lang.String pluginId()
public void updateLanguage()
JaxoPrefs.PREF_LANGUAGE).
public JaxoGraph importGraph(java.io.InputStream inputStream)
throws JaxoPluginExecutionException
importGraph in class JaxoImportPlugininputStream - An InputStream to supply the input data.
JaxoPluginExecutionException - if the graph could not be imported.
Note that the message of the Exception should be
an internationalized String.public java.lang.String description()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||