public class UploadProgress
extends java.lang.Object
Constructor and Description |
---|
UploadProgress(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
long |
octetsComplete()
Total number of sucessfully uploaded octets
Total number of sucessfully uploaded octets/bytes (always known).
|
int |
percentComplete()
Completion in percent
Completion in percent or -1 in case upload size is not known in advance.
|
long |
totalOctets()
Total number of octets/bytes to be uploaded
Total number of octets/bytes to be uploaded or -1 in case the size is not known in advance.
|
public UploadProgress(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public int percentComplete()
public long octetsComplete()
public long totalOctets()