org.xnap.plugin
Class AbstractPlugin

java.lang.Object
  extended by org.xnap.plugin.AbstractPlugin
All Implemented Interfaces:
Plugin
Direct Known Subclasses:
AbstractLAFPlugin, AbstractThemePlugin, AbstractViewer, AzureusPlugin, BitziPlugin, CalpaHtmlPlugin, FestivalPlugin, FreewayPlugin, GiFTPlugin, JOscarPlugin, JTellaPlugin, LimeWirePlugin, NewsPlugin, OAVPlugin, OpenNapPlugin, OvernetPlugin, PircBotPlugin, StatsPlugin

public abstract class AbstractPlugin
extends java.lang.Object
implements Plugin

Provides the default implementation for plugin classes.


Constructor Summary
AbstractPlugin()
           
 
Method Summary
 PluginInfo getInfo()
          Returns information about this plugin.
 void setInfo(PluginInfo info)
          Sets the information record for this plugin.
 java.lang.String toString()
          Returns the value get.Info().getName().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xnap.plugin.Plugin
start, startGUI, stop, stopGUI
 

Constructor Detail

AbstractPlugin

public AbstractPlugin()
Method Detail

setInfo

public void setInfo(PluginInfo info)
Description copied from interface: Plugin
Sets the information record for this plugin. Called by PluginManager.

Specified by:
setInfo in interface Plugin
Parameters:
info - the info record

getInfo

public PluginInfo getInfo()
Description copied from interface: Plugin
Returns information about this plugin.

Specified by:
getInfo in interface Plugin

toString

public java.lang.String toString()
Returns the value get.Info().getName().

Overrides:
toString in class java.lang.Object


Copyright © 2001-2005 XNap Team. All Rights Reserved.