|
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 Instrumentpublic void setName(java.lang.String name)
setName in interface Instrumentname - The name of this instrument.public java.lang.String getDescription()
public java.lang.String getFilePath()
getFilePath in interface Instrumentpublic void setFilePath(java.lang.String path)
setFilePath in interface Instrumentpath - Specifies the absolute path name of the instrument file.public int getInstrumentIndex()
getInstrumentIndex in interface Instrumentpublic void setInstrumentIndex(int idx)
setInstrumentIndex in interface Instrumentidx - The index of the instrument in the instrument file.public java.lang.String getFormatFamily()
getFormatFamily in interface Instrumentpublic java.lang.String getFormatVersion()
getFormatVersion in interface Instrumentpublic java.lang.Integer[] getKeyMapping()
getKeyMapping in interface Instrumentpublic java.lang.Integer[] getKeyswitchMapping()
getKeyswitchMapping in interface Instrument
public boolean parse(java.lang.String s)
throws LscpException
parse in interface Parseables - 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 | |||||||||