org.apache.ivy.util

Class CopyProgressEvent

public class CopyProgressEvent extends Object

Event reporting a stream copy progression
Constructor Summary
CopyProgressEvent()
CopyProgressEvent(byte[] buffer, int read, long total)
CopyProgressEvent(byte[] buffer, long total)
Method Summary
byte[]getBuffer()
intgetReadBytes()
longgetTotalReadBytes()
protected CopyProgressEventupdate(byte[] buffer, int read, long total)

Constructor Detail

CopyProgressEvent

public CopyProgressEvent()

CopyProgressEvent

public CopyProgressEvent(byte[] buffer, int read, long total)

CopyProgressEvent

public CopyProgressEvent(byte[] buffer, long total)

Method Detail

getBuffer

public byte[] getBuffer()

getReadBytes

public int getReadBytes()

getTotalReadBytes

public long getTotalReadBytes()

update

protected CopyProgressEvent update(byte[] buffer, int read, long total)