public class ParamLibrary extends Object
Constructor and Description |
---|
ParamLibrary() |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptionForFunctions(String function)
Get the description for a specific Funtion
|
String |
getDescriptionForKey(String key)
Get the description for one Key
|
String |
getErrorString()
Returns the Error, empty if none occured
|
String[] |
getPossibleFunctions()
Get the List of possible Functions
|
String[] |
getPossibleKeys()
Get the possible Keys
|
String |
getStringForFunction(Program prg,
String function,
String[] params)
Returns the Value of a function
|
String |
getStringForKey(Program prg,
String key)
Get the String for a key
|
boolean |
hasErrors()
Has an Error occured ?
|
void |
setErrors(boolean errors)
Set the Error-Boolean
|
void |
setErrorString(String error)
Set the Error
|
public boolean hasErrors()
public void setErrors(boolean errors)
errors
- True, if an error occuredpublic String getErrorString()
public void setErrorString(String error)
error
- the Errorpublic String[] getPossibleKeys()
public String getDescriptionForKey(String key)
public String[] getPossibleFunctions()
public String getDescriptionForFunctions(String function)
public String getStringForKey(Program prg, String key)
prg
- Program to usekey
- Key to useTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)