corina.util
Class UpdateFolder

java.lang.Object
  |
  +--corina.util.UpdateFolder
All Implemented Interfaces:
Runnable

public class UpdateFolder
extends Object
implements Runnable


Field Summary
static int BUFSIZE
           
 
Constructor Summary
UpdateFolder(File from, File to)
           
 
Method Summary
 void copy(File from, File to)
           
 int estimateTimeRemaining(int total)
           
 String getCurrent()
           
 int getNumberDone()
           
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFSIZE

public static final int BUFSIZE
Constructor Detail

UpdateFolder

public UpdateFolder(File from,
                    File to)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

getNumberDone

public int getNumberDone()

getCurrent

public String getCurrent()

stop

public void stop()

estimateTimeRemaining

public int estimateTimeRemaining(int total)

copy

public void copy(File from,
                 File to)
          throws IOException