|
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.Integer[]>
org.linuxsampler.lscp.IntListParameter
public class IntListParameter
This class implements the Parameter<Integer[]> interface.
| Constructor Summary | |
|---|---|
IntListParameter()
Creates a new instance of IntListParameter |
|
IntListParameter(java.lang.String name)
Creates a IntListParameter instance with the specified name. |
|
IntListParameter(java.lang.String[] lnS)
Creates a new instance of IntListParameter
and parses the specified lines. |
|
IntListParameter(java.lang.String name,
java.lang.Integer[] value)
Creates a IntListParameter 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 IntListParameter()
IntListParameter
public IntListParameter(java.lang.String name)
IntListParameter instance with the specified name.
name - The parameter name.
public IntListParameter(java.lang.String name,
java.lang.Integer[] value)
IntListParameter instance with the specified name and value.
name - The parameter name.value - The parameter value.
public IntListParameter(java.lang.String[] lnS)
throws LscpException
IntListParameter
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.Integer[]>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)
throws LscpException
s - A character string containing the value to be parsed.
LscpException - If the parsing failed.public java.lang.String getStringValue()
|
jlscp v0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||