|
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.ParamParser
public class ParamParser
The ParamParser analyses a String and calls a ParamLibrary for each Key/Function it finds. This System is easily extendable. For an example look into the CapturePlugin-Code
| Constructor Summary | |
|---|---|
ParamParser()
Create a ParamParser with the default ParamLibrary |
|
ParamParser(ParamLibrary lib)
Create a ParamParser with a specific Library |
|
| Method Summary | |
|---|---|
String |
analyse(String command,
Program prg)
Analyse a String and return the parsed String. |
String |
getErrorString()
The Error-String for Details aobut an Error |
ParamLibrary |
getParamLibrary()
The used ParamLibrary |
boolean |
hasErrors()
Returns True if an error occured |
void |
setParamLibrary(ParamLibrary lib)
Set the ParamLibrary that this Parser uses |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParamParser()
public ParamParser(ParamLibrary lib)
lib - ParamLibrary to use| Method Detail |
|---|
public boolean hasErrors()
public String getErrorString()
public ParamLibrary getParamLibrary()
public void setParamLibrary(ParamLibrary lib)
lib - ParamLibrary to use
public String analyse(String command,
Program prg)
command - String to parseprg - Program to use while parsing
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||