public class OBOImport extends AbstractImportTool implements WandoraTool
| Modifier and Type | Class and Description |
|---|---|
protected class |
OBOImport.Category |
protected class |
OBOImport.Dbxref |
protected class |
OBOImport.Dbxrefs |
protected class |
OBOImport.Definition |
protected class |
OBOImport.Header |
class |
OBOImport.OBOParser
OBOParser class implements parser for OBO flat file format.
|
protected class |
OBOImport.PropertyValue |
protected class |
OBOImport.RelatedTerm |
protected class |
OBOImport.Stanza |
protected class |
OBOImport.Synonym |
protected class |
OBOImport.TagValuePair |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<java.lang.String> |
namespaces |
ASK_SOURCE, askSource, CLOSE_LOGS, closeLogs, CUSTOM_IMPORTER, directMerge, FILE_DIALOG_TITLE_TEXT, FILE_IMPORTER, forceFiles, newLayer, RAW_IMPORTER, resetWandoraFirst, TOPICMAP_DIRECT_MERGE, TOPICMAP_MAKE_NEW_LAYER, TOPICMAP_RESET_FIRST, URL_DIALOG_MESSAGE_TEXT, URL_IMPORTER, WEB_IMPORT, webImport| Constructor and Description |
|---|
OBOImport()
Creates a new instance of OBOImport
|
OBOImport(int options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNamespace(java.lang.String newNamespace) |
void |
configure(Wandora admin,
Options options,
java.lang.String prefix)
If the tool is configurable, shows an user interface to configure the tool.
|
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
java.util.ArrayList<java.lang.String> |
getNamespaces() |
void |
importOBO(java.io.InputStream in,
TopicMap map) |
void |
importStream(Wandora wandora,
java.lang.String streamName,
java.io.InputStream inputStream) |
void |
initialize(Wandora admin,
Options options,
java.lang.String prefix)
Initializes a tool with options saved in the options.
|
boolean |
isConfigurable()
Whether this tool is configurable.
|
void |
writeOptions(Wandora admin,
Options options,
java.lang.String prefix)
If the tool is configurable, saves all current tool options.
|
createNewLayer, execute, finalizeImport, getGUIText, getLayerNameFor, getOptions, getType, importFile, importFiles, importUrl, initializeImport, requestImports, setOptionsaddUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, interruptAllThreads, interruptThreads, interruptThreads, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, execute, getContext, getToolMenuItem, getType, hlog, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLoggerforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStatepublic OBOImport()
public OBOImport(int options)
public void initialize(Wandora admin, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolinitialize in interface WandoraToolinitialize in class AbstractWandoraToolTopicMapExceptionpublic boolean isConfigurable()
AbstractWandoraToolisConfigurable in interface WandoraToolisConfigurable in class AbstractWandoraToolpublic void configure(Wandora admin, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolconfigure in interface WandoraToolconfigure in class AbstractWandoraToolTopicMapExceptionpublic void writeOptions(Wandora admin, Options options, java.lang.String prefix)
AbstractWandoraToolwriteOptions in interface WandoraToolwriteOptions in class AbstractWandoraToolpublic java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic javax.swing.Icon getIcon()
AbstractWandoraToolgetIcon should return Icon object of
the tool.getIcon in interface WandoraToolgetIcon in class AbstractImportToolpublic java.util.ArrayList<java.lang.String> getNamespaces()
protected void addNamespace(java.lang.String newNamespace)
public void importStream(Wandora wandora, java.lang.String streamName, java.io.InputStream inputStream)
importStream in class AbstractImportToolpublic void importOBO(java.io.InputStream in,
TopicMap map)
Copyright 2004-2015 Wandora Team