XNap searches certain directories on start-up for plugins.
Each plugin is defined by a properties file. It contains
information about the author, a short description of the
plugin's functionality and the class name of the plugin class.
That file is read by the PluginManager
class and saved in a PluginInfo
object.
The properties file for our JTella plugin is straight forward. We only have one library dependency on jtella.jar.
class=xnap.plugin.jtella.JTellaPlugin author=Steffen Pingel description=Gnutella network plugin based on JTella. version=1.0 name=JTella type=network depends=