Class FilePluginInstallerImpl
- java.lang.Object
-
- com.biglybt.pifimpl.local.installer.InstallablePluginImpl
-
- com.biglybt.pifimpl.local.installer.FilePluginInstallerImpl
-
- All Implemented Interfaces:
FilePluginInstaller
,InstallablePlugin
public class FilePluginInstallerImpl extends InstallablePluginImpl implements FilePluginInstaller
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FilePluginInstallerImpl(PluginInstallerImpl _installer, java.io.File _file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 com.biglybt.pifimpl.local.installer.InstallablePluginImpl
getAlreadyInstalledPlugin, getInstaller, install, 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 com.biglybt.pif.installer.InstallablePlugin
getAlreadyInstalledPlugin, getInstaller, install, 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 interfaceFilePluginInstaller
-
getId
public java.lang.String getId()
- Specified by:
getId
in interfaceInstallablePlugin
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interfaceInstallablePlugin
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceInstallablePlugin
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceInstallablePlugin
-
getRelativeURLBase
public java.lang.String getRelativeURLBase()
- Specified by:
getRelativeURLBase
in interfaceInstallablePlugin
-
addUpdate
public void addUpdate(UpdateCheckInstance inst, PluginUpdatePlugin plugin_update_plugin, Plugin plugin, PluginInterface plugin_interface)
- Specified by:
addUpdate
in classInstallablePluginImpl
-
-