public class ParamLibrary
extends java.lang.Object
Constructor and Description |
---|
ParamLibrary() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptionForFunctions(java.lang.String function)
Get the description for a specific Function
|
java.lang.String |
getDescriptionForKey(java.lang.String key)
Get the description for one Key
|
java.lang.String |
getErrorString()
Returns the Error, empty if none occurred
|
java.lang.String[] |
getPossibleFunctions()
Get the List of possible Functions
|
java.lang.String[] |
getPossibleKeys()
Get the possible Keys
|
java.lang.String |
getStringForFunction(Program prg,
java.lang.String function,
java.lang.String[] params)
Returns the Value of a function
|
java.lang.String |
getStringForKey(Program program,
java.lang.String key)
Get the String for a key
|
boolean |
hasErrors()
Has an Error occurred ?
|
void |
setErrors(boolean errors)
Set the Error-Boolean
|
void |
setErrorString(java.lang.String error)
Set the Error
|
public boolean hasErrors()
public void setErrors(boolean errors)
errors
- True, if an error occurredpublic java.lang.String getErrorString()
public void setErrorString(java.lang.String error)
error
- the Errorpublic java.lang.String[] getPossibleKeys()
public java.lang.String getDescriptionForKey(java.lang.String key)
key
- public java.lang.String[] getPossibleFunctions()
public java.lang.String getDescriptionForFunctions(java.lang.String function)
function
- parameter functionpublic java.lang.String getStringForKey(Program program, java.lang.String key)
program
- Program to usekey
- Key to usepublic java.lang.String getStringForFunction(Program prg, java.lang.String function, java.lang.String[] params)
prg
- Program to usefunction
- Function to useparams
- Params for the FunctionTV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)