diff options
author | Alex Clayton <alex.clayton@isode.com> | 2016-03-16 13:48:37 (GMT) |
---|---|---|
committer | Alex Clayton <alex.clayton@isode.com> | 2016-03-16 14:05:38 (GMT) |
commit | 8b9891afc85d114ff1e9c9a0291a4aaee8baeb09 (patch) | |
tree | 5027dc69d6ca785e0ed94aebc7232b3790b51464 /src/com/isode/stroke/filetransfer/FileTransferError.java | |
parent | 892af8539f2b46e840d7344489529259d1df03b9 (diff) | |
download | stroke-8b9891afc85d114ff1e9c9a0291a4aaee8baeb09.zip stroke-8b9891afc85d114ff1e9c9a0291a4aaee8baeb09.tar.bz2 |
Add FileWriteBytestream class and test.
Adds a FileWriteBytestream class plus a test for it. These had been
missed out previously. Also as per patch 'Fix crash when saving a
received file to non-writable location' changed
WriteBytestream.write() method to return a boolean indicating success
or failure.
Test-information: Tests pass ok.
Change-Id: I0c3676db8b67573142e8628f439cecf54f3f8f1a
Diffstat (limited to 'src/com/isode/stroke/filetransfer/FileTransferError.java')
-rw-r--r-- | src/com/isode/stroke/filetransfer/FileTransferError.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/isode/stroke/filetransfer/FileTransferError.java b/src/com/isode/stroke/filetransfer/FileTransferError.java index ac135d6..fbb5ec6 100644 --- a/src/com/isode/stroke/filetransfer/FileTransferError.java +++ b/src/com/isode/stroke/filetransfer/FileTransferError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2015 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -19,6 +19,7 @@ public class FileTransferError { UnknownError, PeerError, ReadError, + WriteError, ClosedError }; |