OLD | NEW |
1 | 1 |
2 class FileWriterJs extends DOMTypeJs implements FileWriter native "*FileWriter"
{ | 2 class _FileWriterJs extends _DOMTypeJs implements FileWriter native "*FileWriter
" { |
3 | 3 |
4 static final int DONE = 2; | 4 static final int DONE = 2; |
5 | 5 |
6 static final int INIT = 0; | 6 static final int INIT = 0; |
7 | 7 |
8 static final int WRITING = 1; | 8 static final int WRITING = 1; |
9 | 9 |
10 FileErrorJs get error() native "return this.error;"; | 10 _FileErrorJs get error() native "return this.error;"; |
11 | 11 |
12 int get length() native "return this.length;"; | 12 int get length() native "return this.length;"; |
13 | 13 |
14 EventListener get onabort() native "return this.onabort;"; | 14 EventListener get onabort() native "return this.onabort;"; |
15 | 15 |
16 void set onabort(EventListener value) native "this.onabort = value;"; | 16 void set onabort(EventListener value) native "this.onabort = value;"; |
17 | 17 |
18 EventListener get onerror() native "return this.onerror;"; | 18 EventListener get onerror() native "return this.onerror;"; |
19 | 19 |
20 void set onerror(EventListener value) native "this.onerror = value;"; | 20 void set onerror(EventListener value) native "this.onerror = value;"; |
(...skipping 17 matching lines...) Expand all Loading... |
38 int get position() native "return this.position;"; | 38 int get position() native "return this.position;"; |
39 | 39 |
40 int get readyState() native "return this.readyState;"; | 40 int get readyState() native "return this.readyState;"; |
41 | 41 |
42 void abort() native; | 42 void abort() native; |
43 | 43 |
44 void seek(int position) native; | 44 void seek(int position) native; |
45 | 45 |
46 void truncate(int size) native; | 46 void truncate(int size) native; |
47 | 47 |
48 void write(BlobJs data) native; | 48 void write(_BlobJs data) native; |
49 } | 49 } |
OLD | NEW |