Skip to content
Kerri Shotts edited this page Apr 4, 2014 · 7 revisions

FileManager is a class that provides basic file I/O using the HTML5 File API. It works in Google Chrome (v30 and higher), and Cordova/PhoneGap. It is centered around Promises, and requires Q.js to implement those Promises. The benefit, however, is that we eliminate "callback hell".

FileManager can depend on BaseObject, or it can be used in a stand-alone mode, as seen here: https://gist.github.com/kerrishotts/7147214.

Constants

Properties

Methods

* Cordova-specific; these won't work in the desktop

+ Accepts FileEntry or DirectoryEntry (depending on the method) in addition to string paths.

Clone this wiki locally