ProgressListener
instead. Using
this class is dangerous as it uses the deprecated ProgressEvent
, which performs an unsafe cast from long
to int
in ProgressEvent.getBytesTransfered()
.@Deprecated public interface ProgressListener
Modifier and Type | Method and Description |
---|---|
void |
progressChanged(ProgressEvent progressEvent)
Deprecated.
Called when progress has changed, such as additional bytes transferred,
transfer failed, etc.
|
void progressChanged(ProgressEvent progressEvent)
progressEvent
- The event describing the progress change.