|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linuxsampler.lscp.AbstractInstrument
public abstract class AbstractInstrument
Constructor Summary | |
---|---|
AbstractInstrument()
Creates a new instance of AbstractInstrument . |
|
AbstractInstrument(java.lang.String[] resultSet)
Creates a new instance of AbstractInstrument . |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets a brief description about this instrument. |
java.lang.String |
getFilePath()
Returns the absolute path name of the instrument file. |
java.lang.String |
getFormatFamily()
Returns the format family of the instrument. |
java.lang.String |
getFormatVersion()
Returns the format version of the instrument. |
int |
getInstrumentIndex()
Returns the index of the instrument in the instrument file. |
java.lang.Integer[] |
getKeyMapping()
|
java.lang.Integer[] |
getKeyswitchMapping()
|
java.lang.String |
getName()
Gets the name of this instrument. |
boolean |
parse(java.lang.String s)
Parses a line of text. |
void |
setFilePath(java.lang.String path)
Sets the absolute path name of the instrument file. |
void |
setInstrumentIndex(int idx)
Sets the index of the instrument in the instrument file. |
void |
setName(java.lang.String name)
Sets the name of this instrument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.linuxsampler.lscp.Instrument |
---|
getEngine |
Constructor Detail |
---|
public AbstractInstrument()
AbstractInstrument
.
public AbstractInstrument(java.lang.String[] resultSet) throws LscpException
AbstractInstrument
.
resultSet
- An array with information categories about an instrument.
LscpException
Method Detail |
---|
public java.lang.String getName()
getName
in interface Instrument
public void setName(java.lang.String name)
setName
in interface Instrument
name
- The name of this instrument.public java.lang.String getDescription()
public java.lang.String getFilePath()
getFilePath
in interface Instrument
public void setFilePath(java.lang.String path)
setFilePath
in interface Instrument
path
- Specifies the absolute path name of the instrument file.public int getInstrumentIndex()
getInstrumentIndex
in interface Instrument
public void setInstrumentIndex(int idx)
setInstrumentIndex
in interface Instrument
idx
- The index of the instrument in the instrument file.public java.lang.String getFormatFamily()
getFormatFamily
in interface Instrument
public java.lang.String getFormatVersion()
getFormatVersion
in interface Instrument
public java.lang.Integer[] getKeyMapping()
getKeyMapping
in interface Instrument
public java.lang.Integer[] getKeyswitchMapping()
getKeyswitchMapping
in interface Instrument
public boolean parse(java.lang.String s) throws LscpException
parse
in interface Parseable
s
- The string to be parsed.
true
if the line has been processed, false
otherwise.
LscpException
- If some error occurs.
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |