org.ops4j.pax.runner.platform.internal
Class StreamUtils.NullProgressBar

java.lang.Object
  extended by org.ops4j.pax.runner.platform.internal.StreamUtils.NullProgressBar
All Implemented Interfaces:
StreamUtils.ProgressBar
Enclosing class:
StreamUtils

public static class StreamUtils.NullProgressBar
extends java.lang.Object
implements StreamUtils.ProgressBar

A progress bar that does nothing = does not display anything on console.


Constructor Summary
StreamUtils.NullProgressBar()
           
 
Method Summary
 void increment(long bytes, long kbps)
          Callback on download progress.
 void stop()
          Callback when download finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtils.NullProgressBar

public StreamUtils.NullProgressBar()
Method Detail

increment

public void increment(long bytes,
                      long kbps)
Description copied from interface: StreamUtils.ProgressBar
Callback on download progress.

Specified by:
increment in interface StreamUtils.ProgressBar
Parameters:
bytes - download size from when the download started
kbps - download speed

stop

public void stop()
Description copied from interface: StreamUtils.ProgressBar
Callback when download finished.

Specified by:
stop in interface StreamUtils.ProgressBar


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.