incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject docs commit: [CB-553] Documented FileWriter write method that it encodes as utf8.
Date Sun, 22 Apr 2012 02:02:21 GMT
Updated Branches:
  refs/heads/master 92664d774 -> 2fcf5ad1e


[CB-553] Documented FileWriter write method that it encodes as utf8.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/2fcf5ad1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/2fcf5ad1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/2fcf5ad1

Branch: refs/heads/master
Commit: 2fcf5ad1eab36ee5e01403193f379894544454ae
Parents: 92664d7
Author: Fil Maj <maj.fil@gmail.com>
Authored: Sat Apr 21 19:04:32 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Sat Apr 21 19:04:32 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/cordova/file/filewriter/filewriter.md |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2fcf5ad1/docs/en/edge/cordova/file/filewriter/filewriter.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/filewriter/filewriter.md b/docs/en/edge/cordova/file/filewriter/filewriter.md
index c437740..3553470 100644
--- a/docs/en/edge/cordova/file/filewriter/filewriter.md
+++ b/docs/en/edge/cordova/file/filewriter/filewriter.md
@@ -24,12 +24,12 @@ Methods
 - __abort__: Aborts writing file. 
 - __seek__: Moves the file pointer to the byte specified.
 - __truncate__: Shortens the file to the length specified.
-- __write__: Writes data to the file.
+- __write__: Writes data to the file with a UTF-8 encoding.
 
 Details
 -------
 
-The `FileWriter` object is a way to write files from the devices file system.  Users register
their own event listeners to receive the writestart, progress, write, writeend, error and
abort events.
+The `FileWriter` object is a way to write files to the device file system (UTF-8 encoded).
 Users register their own event listeners to receive the writestart, progress, write, writeend,
error and abort events.
 
 A FileWriter is created for a single file. You can use it to write to a file multiple times.
The FileWriter maintains the file's position and length attributes, so you can seek and write
anywhere in the file. By default, the FileWriter writes to the beginning of the file (will
overwrite existing data). Set the optional append boolean to true in the FileWriter's constructor
to begin writing to the end of the file.
 
@@ -172,4 +172,4 @@ Full Example
         <h1>Example</h1>
         <p>Write File</p>
       </body>
-    </html>
\ No newline at end of file
+    </html>


Mime
View raw message