JSampler
v0.8a

org.jsampler.task
Class InstrumentsDb.RenameDirectory

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask
          extended by org.jsampler.task.InstrumentsDb.RenameDirectory
Enclosing class:
InstrumentsDb

public static class InstrumentsDb.RenameDirectory
extends EnhancedTask

This task renames the specified directory.


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

public InstrumentsDb.RenameDirectory(java.lang.String dir,
                                     java.lang.String newName)
Creates a new instance of RenameDirectory.

Parameters:
dir - The absolute path name of the directory to rename.
newName - The new name for the specified directory.
Method Detail

run

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


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.