Package org.apache.ivy.util
Class CopyProgressEvent
- java.lang.Object
-
- org.apache.ivy.util.CopyProgressEvent
-
public class CopyProgressEvent extends java.lang.Object
Event reporting a stream copy progression
-
-
Constructor Summary
Constructors Constructor Description CopyProgressEvent()
CopyProgressEvent(byte[] buffer, int read, long total)
CopyProgressEvent(byte[] buffer, long total)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBuffer()
int
getReadBytes()
long
getTotalReadBytes()
protected CopyProgressEvent
update(byte[] buffer, int read, long total)
-
-
-
Method Detail
-
update
protected CopyProgressEvent update(byte[] buffer, int read, long total)
-
getTotalReadBytes
public long getTotalReadBytes()
-
getBuffer
public byte[] getBuffer()
-
getReadBytes
public int getReadBytes()
-
-