|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.plugin.AbstractPlugin
org.xnap.plugin.overnet.OvernetPlugin
public class OvernetPlugin
Provides a plugin that can control an overnet core.
OvernetPlugin follows the singleton pattern.
| Field Summary | |
|---|---|
static javax.swing.Icon |
ICON_16
|
static java.lang.String |
ICON_FILENAME
|
static java.lang.String |
NEW_COMMANDLINE_OPTION
|
static java.lang.String |
NEW_COMMANDLINE_VERSION
|
static java.lang.String |
OLD_COMMANDLINE_OPTION
|
| Constructor Summary | |
|---|---|
OvernetPlugin()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getCommandLineOptions(java.lang.String command)
|
OvernetCore |
getCore()
|
static OvernetPlugin |
getInstance()
|
static MessageHandler |
getMessageHandler()
|
java.lang.String |
getName()
Returns the name of the search network that is displayed to the user. |
MediaType[] |
getSupportedMediaTypes()
Returns an array of MediaType objects that are supported
by the provider. |
Search |
search(SearchFilter filter)
Invoked when a search is requested. |
void |
start()
Called each time the plugin is enabled. |
void |
startGUI()
Called each time the gui part of the plugin is enabled. |
void |
stateChanged(StateEvent event)
Implements the StateListener interface. |
void |
stop()
Called each time the plugin is disabled. |
void |
stopGUI()
Called each time the gui part of the plugin is disabled. |
| Methods inherited from class org.xnap.plugin.AbstractPlugin |
|---|
getInfo, setInfo, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ICON_FILENAME
public static final javax.swing.Icon ICON_16
public static final java.lang.String NEW_COMMANDLINE_VERSION
public static final java.lang.String OLD_COMMANDLINE_OPTION
public static final java.lang.String NEW_COMMANDLINE_OPTION
| Constructor Detail |
|---|
public OvernetPlugin()
| Method Detail |
|---|
public OvernetCore getCore()
public static OvernetPlugin getInstance()
public java.lang.String getName()
SearchProvider
getName in interface SearchProviderpublic void start()
Plugin
start in interface Pluginpublic void startGUI()
Plugin
startGUI in interface Pluginpublic static java.lang.String getCommandLineOptions(java.lang.String command)
public static MessageHandler getMessageHandler()
public void stateChanged(StateEvent event)
StateListener interface.
stateChanged in interface StateListenerpublic void stop()
Plugin
stop in interface Pluginpublic void stopGUI()
Plugin
stopGUI in interface Pluginpublic MediaType[] getSupportedMediaTypes()
SearchProviderMediaType objects that are supported
by the provider.
getSupportedMediaTypes in interface SearchProviderpublic Search search(SearchFilter filter)
SearchProvider
search in interface SearchProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||