org.gudy.azureus2.pluginsimpl.local.installer
Class FilePluginInstallerImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.installer.InstallablePluginImpl
      extended by org.gudy.azureus2.pluginsimpl.local.installer.FilePluginInstallerImpl
All Implemented Interfaces:
FilePluginInstaller, InstallablePlugin

public class FilePluginInstallerImpl
extends InstallablePluginImpl
implements FilePluginInstaller

Author:
parg

Field Summary
protected  File file
           
protected  String id
           
protected  PluginInstallerImpl installer
           
protected  boolean is_jar
           
protected  String name
           
protected  String version
           
 
Constructor Summary
protected FilePluginInstallerImpl(PluginInstallerImpl _installer, File _file)
           
 
Method Summary
 void addUpdate(UpdateCheckInstance inst, PluginUpdatePlugin plugin_update_plugin, Plugin plugin, PluginInterface plugin_interface)
           
 String getDescription()
           
 File getFile()
           
 String getId()
           
 String getName()
           
 String getRelativeURLBase()
           
 String getVersion()
           
 
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.installer.InstallablePluginImpl
getAlreadyInstalledPlugin, getInstaller, install, install, isAlreadyInstalled, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gudy.azureus2.plugins.installer.InstallablePlugin
getAlreadyInstalledPlugin, getInstaller, install, install, isAlreadyInstalled, uninstall
 

Field Detail

installer

protected PluginInstallerImpl installer

file

protected File file

id

protected String id

version

protected String version

name

protected String name

is_jar

protected boolean is_jar
Constructor Detail

FilePluginInstallerImpl

protected FilePluginInstallerImpl(PluginInstallerImpl _installer,
                                  File _file)
                           throws PluginException
Throws:
PluginException
Method Detail

getFile

public File getFile()
Specified by:
getFile in interface FilePluginInstaller

getId

public String getId()
Specified by:
getId in interface InstallablePlugin

getVersion

public String getVersion()
Specified by:
getVersion in interface InstallablePlugin

getName

public String getName()
Specified by:
getName in interface InstallablePlugin

getDescription

public String getDescription()
Specified by:
getDescription in interface InstallablePlugin

getRelativeURLBase

public String getRelativeURLBase()
Specified by:
getRelativeURLBase in interface InstallablePlugin

addUpdate

public void addUpdate(UpdateCheckInstance inst,
                      PluginUpdatePlugin plugin_update_plugin,
                      Plugin plugin,
                      PluginInterface plugin_interface)
Specified by:
addUpdate in class InstallablePluginImpl