de.schlichtherle.truezip.sample.file.app
Class Application.ProgressMonitor
java.lang.Object
java.lang.Thread
de.schlichtherle.truezip.sample.file.app.Application.ProgressMonitor
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- Application
protected static final class Application.ProgressMonitor
- extends Thread
Monitors progress when committing unsynchronized changes to the
contents of archive files.
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, 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, stop, stop, suspend, toString, yield |
err
private final PrintStream err
args
private final Long[] args
stats
private final FsStatistics stats
Application.ProgressMonitor
private Application.ProgressMonitor(PrintStream err)
start
public void start()
- Overrides:
start in class Thread
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
showProgress
private void showProgress()
- Prints statistics about the amount of data read and written by
TFile.umount() on standard output.
shutdown
private void shutdown()
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.