Search completed in 1.17 seconds.
LocalFileSystem - Web APIs
window.requestfilesystem(window.persistent, 1024*1024,oninitfs,errorhandler); method overview void requestfilesystem (in unsigned short type, in unsigned long long size, in filesystemcallback successcallback, in optional errorcallback errorcallback); void
resolvelocalfilesystemurl (in domstring url, in entrycallback successcallback, in optional errorcallback errorcallback); constants constant value description temporary 0 transient storage that can be be removed by the browser at its discretion.
...
resolvelocalfilesystemurl() lets you look up the entry for a file or directory with a local url.
... void
resolvelocalfilesystemurl( in domstring url, in entrycallback successcallback, in optional errorcallback errorcallback ); parameters url the url of a local file in the file system.
DirectoryReaderSync - Web APIs
you can also use the filesystem: url to look up the entry with
resolvelocalfilesystemurl().
... window.
resolvelocalfilesystemurl = window.
resolvelocalfilesystemurl || window.webkit
resolvelocalfilesystemurl; // create web workers var worker = new worker('worker.js'); worker.onmessage = function(e) { var urls = e.data.entries; urls.foreach(function(url, i) { window.
resolvelocalfilesystemurl(url, function(fileentry) { // print out file's name.