Read and write operations are async.

This commit is contained in:
Bryce Curtis 2010-09-17 16:05:05 -05:00
parent 2d4a321cc1
commit 0ed522481f

7
framework/src/com/phonegap/FileUtils.java Normal file → Executable file
View File

@ -149,10 +149,13 @@ public class FileUtils implements Plugin {
* @return T=returns value
*/
public boolean isSynch(String action) {
if (action.equals("read")) {
if (action.equals("readAsText")) {
return false;
}
else if (action.equals("write")) {
else if (action.equals("readAsDataURL")) {
return false;
}
else if (action.equals("writeAsText")) {
return false;
}
return true;