|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.module.builders.vwms.FileCopier
A background process that starts file copy commands.
The process uses a Queue that holds aFile2Copy objects.
The copier is started by file transfer VWMs such as PageMaster, who maintain
the queue by filling it with information on files to transfer.
FileCopier does not copy files itself, instead, it starts a SCPcopy class for each
file to be copied.
| Constructor Summary | |
FileCopier(Queue files)
Constructor for the Filecopier |
|
| Method Summary | |
void |
doWork()
Main work loop. |
void |
init()
Intializes the class. |
void |
run()
Main loop, exception-protected. |
void |
start()
Starts the main Thread. |
void |
stop()
Stops the main Thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileCopier(Queue files)
files - the Queue that holds (or will hold) the files to copy.
The queue is maintained by the calling class.| Method Detail |
public void init()
public void start()
public void stop()
public void run()
run in interface java.lang.RunnabledoWork()public void doWork()
SCPcopy object to
handle the transfer.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||