TrueZIP Samples 7.1

de.schlichtherle.truezip.sample.file.app
Class Application.ProgressMonitor

java.lang.Object
  extended by java.lang.Thread
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  Long[] args
           
private  PrintStream err
           
private  FsStatistics stats
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
private Application.ProgressMonitor(PrintStream err)
           
 
Method Summary
 void run()
           
private  void showProgress()
          Prints statistics about the amount of data read and written by TFile.umount() on standard output.
private  void shutdown()
           
 void start()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

err

private final PrintStream err

args

private final Long[] args

stats

private final FsStatistics stats
Constructor Detail

Application.ProgressMonitor

private Application.ProgressMonitor(PrintStream err)
Method Detail

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()

TrueZIP Samples 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.