implement interface change

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-19 03:00:06 +00:00
parent f5605e5327
commit b164176ca9
1 changed files with 6 additions and 1 deletions

View File

@ -33,12 +33,17 @@ public class ConsoleDownloadMonitor
{
private long complete;
public void transferStarted( TransferEvent transferEvent )
public void transferInitiated( TransferEvent transferEvent )
{
System.out.println( "Downloading: " + transferEvent.getResource().getName() );
complete = 0;
}
public void transferStarted( TransferEvent transferEvent )
{
// This space left intentionally blank
}
public void transferProgress( TransferEvent transferEvent, byte[] buffer, int length )
{
long total = transferEvent.getResource().getContentLength();