Class FileDialog.Worker
java.lang.Object
java.lang.Thread
javaforce.utils.FileDialog.Worker
- All Implemented Interfaces:
Runnable
- Enclosing class:
FileDialog
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy()voidcopyDirectory(String src, String dest) voidlonggetDirectoryCount(String dir) longgetDirectorySize(String dir) longlonggetFileCount(String file) longlonggetFileSize(String file) voidmove()voidvoidvoidremoveDirectory(String name) voidrun()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
bufsiz
public static final int bufsiz- See Also:
-
buf
public byte[] buf
-
-
Constructor Details
-
Worker
public Worker()
-
-
Method Details
-
run
-
getFileSize
public long getFileSize() -
getFileSize
-
getDirectorySize
-
getFileCount
public long getFileCount() -
getFileCount
-
getDirectoryCount
-
copy
public void copy() -
copyFile
-
copyDirectory
-
move
public void move() -
move
-
remove
-
removeDirectory
-