|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linuxsampler.lscp.AbstractDriver
public abstract class AbstractDriver
This class provides default implementation of the Driver
interface.
Constructor Summary | |
---|---|
AbstractDriver()
Creates a new instance of AbstractDriver |
Method Summary | |
---|---|
void |
addParameter(Parameter prm)
Adds driver parameter. |
java.lang.String |
getDescription()
Gets a description about this driver. |
java.lang.String |
getName()
Gets the name of this driver. |
java.lang.String[] |
getParameterNames()
Gets the names of all parameters available for this driver. |
Parameter[] |
getParameters()
Gets all parameters available for this driver. |
java.lang.String |
getVersion()
Gets the version of this driver. |
boolean |
parse(java.lang.String s)
Parses a line of text. |
void |
setName(java.lang.String name)
Sets the name of this driver. |
java.lang.String |
toString()
Returns the name of this driver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractDriver()
AbstractDriver
Method Detail |
---|
public java.lang.String getName()
getName
in interface Driver
public void setName(java.lang.String name)
name
- A String
object containing the new name for this driver.public java.lang.String getDescription()
getDescription
in interface Driver
public java.lang.String getVersion()
getVersion
in interface Driver
public void addParameter(Parameter prm)
prm
- The additional parameter to be added.public Parameter[] getParameters()
getParameters
in interface Driver
Parameter
array with all parameters available for this driver.public java.lang.String[] getParameterNames()
getParameterNames
in interface Driver
String
array with the names of all parameters
available for this driver.public boolean parse(java.lang.String s)
parse
in interface Parseable
s
- A string to be parsed.
true
if the line has been processed, false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |