|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.hal.ControllerProperties
public class ControllerProperties
The ControllerProperties class encapsulates the methods responsible for
the parameter setting. It can be seen as a helper class that frees the user from implementing
the related methods and function calls in his concrete AutoIdController imlementation.
As a convention the properties file associated with a certain reader has to be named according to its
class name.
| Constructor Summary | |
|---|---|
ControllerProperties(java.lang.String configFile,
java.lang.String defaultConfigFile)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getParameter(java.lang.String param)
Gets the parameter with the specified name from the appropriate properties file. |
java.lang.String[] |
getParameterNames()
Gets the names of the configurable parameters. |
void |
setParameter(java.lang.String param,
java.lang.String value)
Sets the specified parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControllerProperties(java.lang.String configFile,
java.lang.String defaultConfigFile)
| Method Detail |
|---|
public java.lang.String getParameter(java.lang.String param)
throws java.lang.Exception
param - parameter name.
Exception.
java.lang.Exception
public void setParameter(java.lang.String param,
java.lang.String value)
param - The parameter that has to be set.value - The new value for the parameter.
public java.lang.String[] getParameterNames()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||