Constructor and Description |
---|
Plugin(File file)
Creates a plug-in container.
|
Plugin(String filename)
Creates a plug-in container.
|
Modifier and Type | Method and Description |
---|---|
JarFile |
getArchive()
Returns the archive.
|
String |
getPluginName()
Returns the plug-in name.
|
URL |
getUrl()
Returns the URL
|
void |
setArchive(JarFile archive)
Sets the archive to set.
|
void |
setPluginName(String pluginName)
Sets the plug-in name
|
void |
setUrl(URL url)
Sets the URL.
|
String |
toString() |
public Plugin(String filename) throws MaltChainedException
filename
- The file name that contains the pluginMaltChainedException
public Plugin(File file) throws MaltChainedException
file
- The jar file that contains the pluginMaltChainedException
public JarFile getArchive()
public void setArchive(JarFile archive)
archive
- The archive to set.public String getPluginName()
public void setPluginName(String pluginName)
pluginName
- the plug-in nameCopyright 2007-2014 Johan Hall, Jens Nilsson and Joakim Nivre.