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
1 changed files with 9 additions and 1 deletions

View File

@ -285,7 +285,15 @@ public abstract class FileTransfer {
public static final Status CANCLED = new Status();
}
public static class Error {
/**
* 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 {
/**
* No error
*/