JSampler
v0.8a

org.jsampler.task
Class InstrumentsDb.GetInstrumentCount

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

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

This task retrieves the number of instruments in the specified directory.


Constructor Summary
InstrumentsDb.GetInstrumentCount(java.lang.String dir, boolean recursive)
          Creates a new instance of GetInstrumentCount.
 
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.GetInstrumentCount

public InstrumentsDb.GetInstrumentCount(java.lang.String dir,
                                        boolean recursive)
Creates a new instance of GetInstrumentCount.

Parameters:
dir - The absolute path name of the directory.
recursive - If true, the number of all instruments in the specified subtree will be returned.
Method Detail

run

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


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.