|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstatalign.postprocess.PluginParameters
public class PluginParameters
A class which for storing plugin parameters. Any parameters starting with "plugin:" will be passed from the CommandLine class to a static PluginParameters object which is visible to all Postprocess classes. It is the responsibility of the individual Postprocess classes to retrieve the parameters specific to that they require.
Constructor Summary | |
---|---|
PluginParameters()
|
|
PluginParameters(java.util.ArrayList<java.lang.String> argsVector)
An alternative way to initialise this class. |
Method Summary | |
---|---|
java.lang.String |
getParameter(java.lang.String name)
Returns the corresponding parameter value or null if the parameter does not exist. |
void |
print()
|
void |
removeParameter(java.lang.String name)
|
void |
setParameter(java.lang.String name,
java.lang.String value)
Given a parameter and a value, sets the corresponding parameter value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginParameters()
public PluginParameters(java.util.ArrayList<java.lang.String> argsVector)
args
- a list of parameters and values of the form "parameter=value".Method Detail |
---|
public java.lang.String getParameter(java.lang.String name)
name
- the name of the parameter to retrieve, excluding the "plugin:" suffix.
public void setParameter(java.lang.String name, java.lang.String value)
name
- the name of the parameter to set, excluding the "plugin:" suffix.value
- the value of the parameter.public void removeParameter(java.lang.String name)
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |