org.apache.maven.util
Class BootstrapDownloadMeter

java.lang.Object
  extended byorg.apache.maven.util.BootstrapDownloadMeter
All Implemented Interfaces:
org.apache.maven.wagon.events.TransferListener

public class BootstrapDownloadMeter
extends java.lang.Object
implements org.apache.maven.wagon.events.TransferListener

Bootstrap download progress meter.

Version:
$Id: BootstrapDownloadMeter.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
Brett Porter

Constructor Summary
BootstrapDownloadMeter()
           
BootstrapDownloadMeter(int numHashes, char hashChar)
           
 
Method Summary
 void debug(java.lang.String message)
           
 void transferCompleted(org.apache.maven.wagon.events.TransferEvent transferEvent)
           
 void transferError(org.apache.maven.wagon.events.TransferEvent transferEvent)
           
 void transferInitiated(org.apache.maven.wagon.events.TransferEvent transferEvent)
           
 void transferProgress(org.apache.maven.wagon.events.TransferEvent transferEvent, byte[] buffer, int length)
           
 void transferStarted(org.apache.maven.wagon.events.TransferEvent transferEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapDownloadMeter

public BootstrapDownloadMeter()

BootstrapDownloadMeter

public BootstrapDownloadMeter(int numHashes,
                              char hashChar)
Method Detail

transferInitiated

public void transferInitiated(org.apache.maven.wagon.events.TransferEvent transferEvent)
Specified by:
transferInitiated in interface org.apache.maven.wagon.events.TransferListener

transferStarted

public void transferStarted(org.apache.maven.wagon.events.TransferEvent transferEvent)
Specified by:
transferStarted in interface org.apache.maven.wagon.events.TransferListener

transferProgress

public void transferProgress(org.apache.maven.wagon.events.TransferEvent transferEvent,
                             byte[] buffer,
                             int length)
Specified by:
transferProgress in interface org.apache.maven.wagon.events.TransferListener

transferCompleted

public void transferCompleted(org.apache.maven.wagon.events.TransferEvent transferEvent)
Specified by:
transferCompleted in interface org.apache.maven.wagon.events.TransferListener

transferError

public void transferError(org.apache.maven.wagon.events.TransferEvent transferEvent)
Specified by:
transferError in interface org.apache.maven.wagon.events.TransferListener

debug

public void debug(java.lang.String message)
Specified by:
debug in interface org.apache.maven.wagon.events.TransferListener


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.