|
||||||||||
| 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 | |
|---|---|
String |
description()
Return a short description (preferably internationalized) of what this plugin does. |
String |
getFileExtension()
Extension to be used for plugin files. |
String |
getFileExtensionDescription()
Description to be used for plugin file extensions. |
String |
getFormatName()
The name of the plugin (export or import) format. |
String |
getShortName()
Return a short name for this plugin. |
JaxoGraph |
importGraph(InputStream inputStream)
Import a graph from a Reader. |
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, 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 String getFormatName()
getFormatName in class AbstractJaxoPluginpublic String getFileExtension()
getFileExtension in class AbstractJaxoPluginpublic String getFileExtensionDescription()
getFileExtensionDescription in class AbstractJaxoPluginpublic String getShortName()
public String pluginId()
public void updateLanguage()
JaxoPrefs.PREF_LANGUAGE).
public JaxoGraph importGraph(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 String description()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||