|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Exposes functionality to manage and inspect available plugins at the client side.
Field Summary | |
static java.lang.String |
backupFile
Name of backup index file, used when manipulating the original index. |
static java.lang.String |
defaultPluginDirectory
Default value of configuration variable (localPluginDirectory) |
static java.lang.String |
indexFile
Name of index file within this directory that will contain information about each plugIn, one per line, that is found within the localPlugin directory. |
static java.lang.String |
localPluginDirectory
Configuration variable. |
Method Summary | |
java.lang.String |
getEntry(java.lang.String dirName,
java.lang.String pluginName)
Get the entry for the given plugin name and directory. |
java.util.Enumeration |
plugins(java.lang.String dirName)
Return Enumeration of Strings representing plugin names. |
void |
registerPlugin(java.lang.String dirName,
java.lang.String pluginName)
Register plugin in given directory with given name. |
void |
removePluginList(java.lang.String dirName,
java.lang.String pluginName)
Remove a plugin |
void |
setEntry(java.lang.String dirName,
java.lang.String pluginName,
java.lang.String string)
Update entry (within plugin index) for directory and name. |
Field Detail |
public static final java.lang.String indexFile
jarname:pluginName:pluginVersion:author:size:date:[optional extra]
Note that [optional extra] refers to additional properties that may be stored within this file.
public static final java.lang.String backupFile
public static final java.lang.String localPluginDirectory
public static final java.lang.String defaultPluginDirectory
Method Detail |
public void registerPlugin(java.lang.String dirName, java.lang.String pluginName)
dirName
- Location where entry info is to be found.pluginName
- key to which info is associated.public void setEntry(java.lang.String dirName, java.lang.String pluginName, java.lang.String string)
dirName
- Location where entry info is to be found.pluginName
- key to which info is associated.string
- String representing the information associated with the given entry.public java.lang.String getEntry(java.lang.String dirName, java.lang.String pluginName)
dirName
- Location where entry info is to be found.pluginName
- key to which info is associated.
public void removePluginList(java.lang.String dirName, java.lang.String pluginName)
dirName
- Location where plugin is to be found.pluginName
- key referencing plugin to be deleted.public java.util.Enumeration plugins(java.lang.String dirName)
dirName
- Location where plugins are to be found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |