Package org.apache.ivy.util
Class CopyProgressEvent
java.lang.Object
org.apache.ivy.util.CopyProgressEvent
Event reporting a stream copy progression
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private int
private long
-
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)
-
Field Details
-
totalReadBytes
private long totalReadBytes -
buffer
private byte[] buffer -
readBytes
private int readBytes
-
-
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()
-