|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.paramhandler.ParamLibrary
public class ParamLibrary
The Default-ParamLibrary. If you want to add new Params or Functions for your Plugin, extend this Plugin and overwrite the public Methods. For an example see the Code in the CapturePlugin
| Constructor Summary | |
|---|---|
ParamLibrary()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParamLibrary()
| Method Detail |
|---|
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 use
public String getStringForFunction(Program prg,
String function,
String[] params)
prg - Program to usefunction - Function to useparams - Params for the Function
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||