public class ProgressEvent
extends java.lang.Object
implements java.io.Serializable
ProgressListener.onProgress(ProgressEvent)
API to inform SVNClientInterface
of command progress (in terms of bytes).Modifier and Type | Field and Description |
---|---|
private long |
progress
The number of bytes already transferred.
|
private static long |
serialVersionUID |
private long |
total
The total number of bytes, or
-1 if not known. |
Constructor and Description |
---|
ProgressEvent(long progress,
long total)
This constructor is to be used by the native code.
|
ProgressEvent(ProgressEvent aEvent)
A backward-compat constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getProgress() |
long |
getTotal() |
private static final long serialVersionUID
private long progress
private long total
-1
if not known.ProgressEvent(long progress, long total)
progress
- The number of bytes already transferred.total
- The total number of bytes, or -1
if
not known.public ProgressEvent(ProgressEvent aEvent)