|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsampler.task.EnhancedTask<java.lang.Integer>
org.jsampler.task.InstrumentsDb.AddInstrumentsFromFile
public static class InstrumentsDb.AddInstrumentsFromFile
This task adds instruments from an instrument file to the instruments database.
| Constructor Summary | |
|---|---|
InstrumentsDb.AddInstrumentsFromFile(java.lang.String dbDir,
java.lang.String filePath)
Creates a new instance of AddInstrumentsFromFile. |
|
InstrumentsDb.AddInstrumentsFromFile(java.lang.String dbDir,
java.lang.String filePath,
int instrIndex)
Creates a new instance of AddInstrumentsFromFile. |
|
| Method Summary | |
|---|---|
void |
run()
The entry point of the task. |
| Methods inherited from class org.jsampler.task.EnhancedTask |
|---|
isStopped, setErrorDetails, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentsDb.AddInstrumentsFromFile(java.lang.String dbDir,
java.lang.String filePath)
AddInstrumentsFromFile.
dbDir - The absolute path name of the database directory
in which all instruments from the specified instrument file will be added.filePath - The absolute path name of the instrument file.
public InstrumentsDb.AddInstrumentsFromFile(java.lang.String dbDir,
java.lang.String filePath,
int instrIndex)
AddInstrumentsFromFile.
dbDir - The absolute path name of the database directory
in which the specified instrument will be added.filePath - The absolute path name of the instrument file.instrIndex - The index of the instrument
(in the given instrument file) to add. If -1 is specified, all
instruments in the given instrument file will be added.| Method Detail |
|---|
public void run()
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||