JSampler
v0.8a

org.jsampler.task
Class InstrumentsDb.AddInstruments

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask<java.lang.Integer>
          extended by org.jsampler.task.InstrumentsDb.AddInstruments
Enclosing class:
InstrumentsDb

public static class InstrumentsDb.AddInstruments
extends EnhancedTask<java.lang.Integer>

This task adds instruments from a directory to the instruments database.


Constructor Summary
InstrumentsDb.AddInstruments(java.lang.String dbDir, java.lang.String fsDir)
          Creates a new instance of AddInstruments.
InstrumentsDb.AddInstruments(java.lang.String dbDir, java.lang.String fsDir, boolean flat)
          Creates a new instance of AddInstruments.
 
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

InstrumentsDb.AddInstruments

public InstrumentsDb.AddInstruments(java.lang.String dbDir,
                                    java.lang.String fsDir)
Creates a new instance of AddInstruments.

Parameters:
dbDir - The absolute path name of the database directory in which all instruments from the specified directory will be added.
fsDir - The absolute path name of the file system directory.

InstrumentsDb.AddInstruments

public InstrumentsDb.AddInstruments(java.lang.String dbDir,
                                    java.lang.String fsDir,
                                    boolean flat)
Creates a new instance of AddInstruments.

Parameters:
dbDir - The absolute path name of the database directory in which all instruments from the specified directory will be added.
fsDir - The absolute path name of the file system directory.
flat - If true, the respective subdirectory structure will not be re-created in the supplied database directory.
Method Detail

run

public void run()
The entry point of the task.


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.