public class CaptureParamLibrary extends ParamLibrary
Constructor and Description |
---|
CaptureParamLibrary(DeviceConfig config)
Create the ParamLibrary
|
CaptureParamLibrary(DeviceConfig config,
ProgramTime prgTime)
Create the 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[] |
getPossibleFunctions()
Get the List of possible Functions
|
String[] |
getPossibleKeys()
Get the possible Keys
|
ProgramTime |
getProgramTime()
Get the ProgramTime this ParamLibrary uses to calculate start/endtime
|
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
|
void |
setProgramTime(ProgramTime prgTime)
Set the ProgramTime
|
getErrorString, hasErrors, setErrors, setErrorString
public CaptureParamLibrary(DeviceConfig config)
config
- Configurationpublic CaptureParamLibrary(DeviceConfig config, ProgramTime prgTime)
config
- ConfigurationprgTime
- ProgramTime to use for calculating start/endtimepublic void setProgramTime(ProgramTime prgTime)
prgTime
- ProgramTime to use for calculating start/endtimepublic ProgramTime getProgramTime()
public String getDescriptionForFunctions(String function)
ParamLibrary
getDescriptionForFunctions
in class ParamLibrary
public String[] getPossibleFunctions()
ParamLibrary
getPossibleFunctions
in class ParamLibrary
public String getStringForFunction(Program prg, String function, String[] params)
ParamLibrary
getStringForFunction
in class ParamLibrary
prg
- Program to usefunction
- Function to useparams
- Params for the Functionpublic String getDescriptionForKey(String key)
ParamLibrary
getDescriptionForKey
in class ParamLibrary
public String[] getPossibleKeys()
ParamLibrary
getPossibleKeys
in class ParamLibrary
public String getStringForKey(Program prg, String key)
ParamLibrary
getStringForKey
in class ParamLibrary
prg
- Program to usekey
- Key to useTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)