ProgressEvent
@Deprecated public class ProgressEvent extends ProgressEvent
CANCELED_EVENT_CODE, COMPLETED_EVENT_CODE, FAILED_EVENT_CODE, PART_COMPLETED_EVENT_CODE, PART_FAILED_EVENT_CODE, PART_STARTED_EVENT_CODE, PREPARING_EVENT_CODE, RESET_EVENT_CODE, STARTED_EVENT_CODE
Constructor and Description |
---|
ProgressEvent(int bytesTransferred)
Deprecated.
|
ProgressEvent(long bytesTransferred)
Deprecated.
|
ProgressEvent(ProgressEventType eventType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getBytesTransfered()
Deprecated.
Replaced by
ProgressEvent.getBytesTransferred() . This method
SHOULD NEVER be used as it can lead to integer overflow if the
number of bytes transferred was greater than Integer.MAX_VALUE . |
getBytes, getBytesTransferred, getEventCode, getEventType, toString
public ProgressEvent(int bytesTransferred)
public ProgressEvent(long bytesTransferred)
public ProgressEvent(ProgressEventType eventType)
@Deprecated public int getBytesTransfered()
ProgressEvent.getBytesTransferred()
. This method
SHOULD NEVER be used as it can lead to integer overflow if the
number of bytes transferred was greater than Integer.MAX_VALUE
.Copyright © 2024. All rights reserved.