Package org.apache.ivy.util
Class CopyProgressEvent
java.lang.Object
org.apache.ivy.util.CopyProgressEvent
Event reporting a stream copy progression
-
Constructor Summary
ConstructorsConstructorDescriptionCopyProgressEvent
(byte[] buffer, int read, long total) CopyProgressEvent
(byte[] buffer, long total) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
long
protected CopyProgressEvent
update
(byte[] buffer, int read, long total)
-
Constructor Details
-
CopyProgressEvent
public CopyProgressEvent() -
CopyProgressEvent
public CopyProgressEvent(byte[] buffer, int read, long total) -
CopyProgressEvent
public CopyProgressEvent(byte[] buffer, long total)
-
-
Method Details
-
update
-
getTotalReadBytes
public long getTotalReadBytes() -
getBuffer
public byte[] getBuffer() -
getReadBytes
public int getReadBytes()
-