org.tigris.subversion.javahl
Class ProgressEvent

java.lang.Object
  extended by org.tigris.subversion.javahl.ProgressEvent
All Implemented Interfaces:
Serializable

public class ProgressEvent
extends Object
implements Serializable

The event passed to the ProgressListener.onProgress(ProgressEvent) API to inform SVNClientInterface of command progress (in terms of bytes).

Since:
1.5
See Also:
Serialized Form

Constructor Summary
ProgressEvent(ProgressEvent aEvent)
          A backward-compat constructor.
 
Method Summary
 long getProgress()
           
 long getTotal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressEvent

public ProgressEvent(ProgressEvent aEvent)
A backward-compat constructor.

Method Detail

getProgress

public long getProgress()
Returns:
The number of bytes already transferred.

getTotal

public long getTotal()
Returns:
The total number of bytes, or -1 if not known.