|
jlscp v0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.linuxsampler.lscp.AbstractParameter<java.lang.Boolean[]>
org.linuxsampler.lscp.BoolListParameter
public class BoolListParameter
This class implements the Parameter<Boolean[]> interface.
| Constructor Summary | |
|---|---|
|
BoolListParameter()
Creates a new instance of BoolListParameter |
|
BoolListParameter(java.lang.String name)
Creates a BoolListParameter instance with the specified name. |
protected |
BoolListParameter(java.lang.String[] lnS)
Creates a new instance of BoolListParameter
and parses the specified lines. |
|
BoolListParameter(java.lang.String name,
java.lang.Boolean[] value)
Creates a BoolListParameter instance with the specified name and value. |
| Method Summary | |
|---|---|
java.lang.String |
getStringValue()
Gets a character string representation of the parameter's value. |
boolean |
parse(java.lang.String s)
Parses a line of text. |
void |
parseValue(java.lang.String s)
Parses the specified character string and sets the value of this parameter with the parsed result. |
| Methods inherited from class org.linuxsampler.lscp.AbstractParameter |
|---|
getDefault, getDependances, getDescription, getName, getPossibilities, getRangeMax, getRangeMin, getType, getValue, hasDependances, hasPossibilities, hasRangeMax, hasRangeMin, isBoolean, isBooleanList, isFixed, isFloat, isFloatList, isInteger, isIntegerList, isMandatory, isMultiplicity, isString, isStringList, parseLines, setDefault, setDescription, setMultiplicity, setName, setPossibilities, setRangeMax, setRangeMin, setType, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BoolListParameter()
BoolListParameter
public BoolListParameter(java.lang.String name)
BoolListParameter instance with the specified name.
name - The parameter name.
public BoolListParameter(java.lang.String name,
java.lang.Boolean[] value)
BoolListParameter instance with the specified name and value.
name - The parameter name.value - The parameter value.
protected BoolListParameter(java.lang.String[] lnS)
throws LscpException
BoolListParameter
and parses the specified lines.
lnS - A String array with lines to be parsed.
LscpException - If the parse fail.| Method Detail |
|---|
public boolean parse(java.lang.String s)
throws LscpException
parse in interface Parseableparse in class AbstractParameter<java.lang.Boolean[]>s - The string to be parsed.
true if the line has been processed, false otherwise.
LscpException - If some error occurs.public void parseValue(java.lang.String s)
s - A character string containing the value to be parsed.public java.lang.String getStringValue()
|
jlscp v0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||