DLESE Tools
v1.2

org.dlese.dpc.index
Class FileMoveTester

java.lang.Object
  extended byorg.dlese.dpc.index.FileMoveTester

public final class FileMoveTester
extends Object

This class simulates saving, moving and deleting records from the records directory. NOTE: Should NOT be used when pointing at the DLESE metadata repository!

Author:
John Weatherley

Nested Class Summary
 class FileMoveTester.MoveFilesThread
          DESCRIPTION
 
Constructor Summary
FileMoveTester(String inputFileLoc, String tempFileLoc)
          Constructor for the FileMoveTester object
 
Method Summary
static String getDateStamp()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 void setDebug(boolean db)
           
 void stop()
          DESCRIPTION
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMoveTester

public FileMoveTester(String inputFileLoc,
                      String tempFileLoc)
Constructor for the FileMoveTester object

Parameters:
inputFileLoc - DESCRIPTION
tempFileLoc - DESCRIPTION
Method Detail

stop

public void stop()
DESCRIPTION


getDateStamp

public static String getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:

Returns:
The dateStamp value

setDebug

public final void setDebug(boolean db)

DLESE Tools
v1.2