Search completed in 3.74 seconds.
6 results for "FileWriter":
FileSystemFileEntry - Web APIs
obsolete methods createwriter() creates a new
filewriter object which allows writing to the file represented by the file system entry.
... basic concepts to write content to file, create a
filewriter object by calling createwriter().
...the text data is written to the file by creating a blob, appending text to it, and passing the blob to
filewriter.write().
...And 3 more matches
FileSystemFileEntry.createWriter() - Web APIs
the filesystemfileentry interface's method createwriter() returns a
filewriter object which can be used to write data into the file represented by the directory entry.
... syntax filesystemfileentry.createwriter(successcallback[, errorcallback]); parameters successcallback a callback function which is called when the
filewriter has been created successfully; the
filewriter is passed into the callback as the only parameter.
... errorcallback optional if provided, this must be a method which is caled when an error occurs while trying to create the
filewriter.
...And 2 more matches
FileEntrySync - Web APIs
basic concepts to write content to file, create a
filewriter object by calling createwriter().
... method overview
filewritersync createwriter () raises (fileexception); file file () raises (fileexception); methods createwriter() creates a new
filewriter associated with the file that the fileentry represents.
... returns
filewritersync exceptions this method can raise a fileexception with the following codes: exception description not_found_err the file does not exist.
FileHandle API - Web APIs
file.append('some content'); writing.onsuccess = function () { console.log('writing operation successful'); var saving = myfile.flush(); saving.onsuccess = function () { console.log('the file has been successfully stored'); } } writing.onerror = function () { console.log('something goes wrong in the writing process: ' + this.error); } api compatibility why a different api than
filewriter?
... the
filewriter specification defines
filewriters, objects aiming at representing editable files.
Index - Web APIs
1384 filesystemfileentry.createwriter() api, file system api, file and directory entries api, filesystemfileentry, files, method, non-standard, obsolete, reference, createwriter the filesystemfileentry interface's method createwriter() returns a
filewriter object which can be used to write data into the file represented by the directory entry.