TrueZIP 6.8.3

de.schlichtherle.io.samples
Class CommandLineUtility.ProgressMonitor

java.lang.Object
  extended by java.lang.Thread
      extended by de.schlichtherle.io.samples.CommandLineUtility.ProgressMonitor
All Implemented Interfaces:
Runnable
Enclosing class:
CommandLineUtility

protected static class CommandLineUtility.ProgressMonitor
extends Thread


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  ArchiveStatistics liveStats
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CommandLineUtility.ProgressMonitor(PrintStream err)
           
 
Method Summary
 void run()
           
private  void showProgress()
          Prints statistics about the amount of data read and written by File.update() or File.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

liveStats

private final ArchiveStatistics liveStats
Constructor Detail

CommandLineUtility.ProgressMonitor

CommandLineUtility.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 File.update() or File.umount() on standard output.


shutdown

private void shutdown()

TrueZIP 6.8.3

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