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  java.io.File file
           
protected  java.lang.String id
           
protected  PluginInstallerImpl installer
           
protected  boolean is_jar
           
protected  java.lang.String name
           
protected  java.lang.String version
           
 
Constructor Summary
protected FilePluginInstallerImpl(PluginInstallerImpl _installer, java.io.File _file)
           
 
Method Summary
 void addUpdate(UpdateCheckInstance inst, PluginUpdatePlugin plugin_update_plugin, Plugin plugin, PluginInterface plugin_interface)
           
 java.lang.String getDescription()
           
 java.io.File getFile()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getRelativeURLBase()
           
 java.lang.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 java.io.File file

id

protected java.lang.String id

version

protected java.lang.String version

name

protected java.lang.String name

is_jar

protected boolean is_jar
Constructor Detail

FilePluginInstallerImpl

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

getFile

public java.io.File getFile()
Specified by:
getFile in interface FilePluginInstaller

getId

public java.lang.String getId()
Specified by:
getId in interface InstallablePlugin

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface InstallablePlugin

getName

public java.lang.String getName()
Specified by:
getName in interface InstallablePlugin

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface InstallablePlugin

getRelativeURLBase

public java.lang.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