|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.mp3dings.utils.FileCopyRunnable
public class FileCopyRunnable
This class copies files in a background thread. Progress is indicated in a Status Bar. In case of an exception file copying is suspended and the user is asked what to do in a JDialog. If the Status Bar is part of a container hierarchy the error dialog will be owned by the window ancestor of the Status bar.
| Constructor Summary | |
|---|---|
FileCopyRunnable(File dest,
File[] src)
|
|
| Method Summary | |
|---|---|
void |
finished()
Should be overwritten. |
int |
getFilesCopied()
Returns the number of files copied so far. |
StatusBar |
getStatusBar()
Returns the StatusBar in which this FileCopyRunnable displays its status messages. |
int |
getTotalFiles()
|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileCopyRunnable(File dest,
File[] src)
| Method Detail |
|---|
public StatusBar getStatusBar()
public int getFilesCopied()
public int getTotalFiles()
public void run()
run in interface Runnablepublic void finished()
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||