|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
lhmc.files.CopyTo
public class CopyTo
CopyTo is a threaded class that manages the copy of files from remote filesystem (SmbFile) to local filesystem (File) and vice versa. Also manages to copy from remote to remote filesystem or local to local filesystem.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CopyTo(java.io.File srcFile,
java.io.File destFile)
Constructor that creates the input and output stream from source file and destination file. |
|
CopyTo(java.io.File srcFile,
SmbFile destFile)
Constructor that creates the input and output stream from source file and destination smbfile. |
|
CopyTo(SmbFile srcFile,
java.io.File destFile)
Constructor that creates the input and output stream from source smbfile and destination file. |
|
CopyTo(SmbFile srcFile,
SmbFile destFile)
Constructor that creates the source and destination smbfile. |
Method Summary | |
---|---|
void |
run()
Executes the copy of the files. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopyTo(java.io.File srcFile, java.io.File destFile)
srcFile
- the source file.destFile
- the destination file.public CopyTo(java.io.File srcFile, SmbFile destFile)
srcFile
- the source file.destFile
- the destination smbfile.SmbFile
public CopyTo(SmbFile srcFile, SmbFile destFile)
srcFile
- the source smbfile.destFile
- the destination smbfile.SmbFile
public CopyTo(SmbFile srcFile, java.io.File destFile)
srcFile
- the source smbfile.destFile
- the destination file.SmbFile
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |