public class ParamParser extends Object
Constructor and Description |
---|
ParamParser()
Create a ParamParser with the default ParamLibrary
|
ParamParser(ParamLibrary lib)
Create a ParamParser with a specific Library
|
Modifier and Type | Method and Description |
---|---|
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
|
public ParamParser()
public ParamParser(ParamLibrary lib)
lib
- ParamLibrary to usepublic boolean hasErrors()
public String getErrorString()
public ParamLibrary getParamLibrary()
public void setParamLibrary(ParamLibrary lib)
lib
- ParamLibrary to useTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)