|
MaltParser 1.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.maltparser.core.plugin.Plugin
public class Plugin
The class Plugin contains information about a plug-in that comply to the the MaltParser Plugin Standard.
Constructor Summary | |
---|---|
Plugin(File file)
Creates a plug-in container. |
|
Plugin(String filename)
Creates a plug-in container. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Plugin(String filename) throws MaltChainedException
filename
- The file name that contains the plugin
MaltChainedException
public Plugin(File file) throws MaltChainedException
file
- The jar file that contains the plugin
MaltChainedException
Method Detail |
---|
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 namepublic URL getUrl()
public void setUrl(URL url)
url
- the URLpublic String toString()
toString
in class Object
|
MaltParser 1.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |