1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 14:52:06 +01:00

Added getAmountWritten.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3407 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro 2006-02-08 04:39:27 +00:00 committed by derek
parent 586e3a1604
commit b3364fcce7

View file

@ -285,6 +285,14 @@ public abstract class FileTransfer {
public static final Status CANCLED = new Status(); public static final Status CANCLED = new Status();
} }
/**
* Return the length of bytes written out to the stream.
* @return the amount in bytes written out.
*/
public long getAmountWritten(){
return amountWritten;
}
public static class Error { public static class Error {
/** /**
* No error * No error