public final class JaxoImportAxodraw extends JaxoImport
Constructor and Description |
---|
JaxoImportAxodraw() |
Modifier and Type | Method and Description |
---|---|
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 ). |
getBuiltInFormats, makeAvailableAtRuntime, version
commitConfiguration, getCharsetName, getConfigurationPanel, importGraph, importGraph, setCharsetName
close, close, close, close, getClassName, getFailure, getLang, getLog, getParentComponent, getProperties, getProperty, getProperty, getShortGraphName, hasFailed, isSilent, loadProperties, pluginName, registerDictionary, setFailure, setParentComponent, setProperty, setShortGraphName, setSilent, storeProperties
public java.lang.String getFormatName()
getFormatName
in class AbstractJaxoPlugin
public java.lang.String getFileExtension()
getFileExtension
in class AbstractJaxoPlugin
public java.lang.String getFileExtensionDescription()
getFileExtensionDescription
in class AbstractJaxoPlugin
public 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 JaxoImportPlugin
inputStream
- 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()
Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.