Note about deficiencies in CopyHelper.

This commit is contained in:
James Sanford 2012-10-21 03:04:13 -07:00
parent 7fd08733ec
commit 60681e4db4

View File

@ -17,6 +17,10 @@ public class CopyHelper {
mFile = filename;
}
// This leaves a partial temporary file on error and doesn't let you know
// whether it was successful. If your disk is full you will be unhappy.
//
// Caller could check for final file name.
public void copy() throws java.io.IOException {
Log.e("kegs", "CopyHelper to " + mDir + "/" + mFile);
final File dir = new File(mDir);