|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.AbstractPlugin org.xnap.plugin.jtella.JTellaPlugin
public class JTellaPlugin
Provides a gnutella network plugin based on the jtella library.
Constructor Summary | |
---|---|
JTellaPlugin()
|
Method Summary | |
---|---|
void |
createConnection()
Creates a new connection. |
com.kenmccrary.jtella.GNUTellaConnection |
getConnection()
Returns the network connection. |
static JTellaPlugin |
getInstance()
|
java.lang.String |
getName()
Returns the name of the plugin. |
static JTellaPreferences |
getPreferences()
|
MediaType[] |
getSupportedMediaTypes()
Returns all supported search media types. |
boolean |
isStarted()
|
Search |
search(SearchFilter filter)
Creates and returns a JTellaSearch object. |
void |
start()
Starts the plugin. |
void |
startConnection()
Starts the network connection. |
void |
startGUI()
Starts the GUI of the plugin. |
void |
stop()
Stops the plugin. |
void |
stopConnection()
Stops the connection and creates a new one. |
void |
stopGUI()
Stops the GUI of the plugin. |
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 |
Constructor Detail |
---|
public JTellaPlugin()
Method Detail |
---|
public static JTellaPlugin getInstance()
public static JTellaPreferences getPreferences()
public com.kenmccrary.jtella.GNUTellaConnection getConnection()
public java.lang.String getName()
getName
in interface SearchProvider
SearchProvider.getName()
public MediaType[] getSupportedMediaTypes()
getSupportedMediaTypes
in interface SearchProvider
public Search search(SearchFilter filter)
JTellaSearch
object.
search
in interface SearchProvider
public void start()
start
in interface Plugin
public void startGUI()
startGUI
in interface Plugin
public void stop()
stop
in interface Plugin
public void stopGUI()
stopGUI
in interface Plugin
public void createConnection()
public boolean isStarted()
public void startConnection()
public void stopConnection()
#createConnection(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |