OLD | NEW |
(Empty) | |
| 1 |
| 2 class _FileWriterImpl implements FileWriter native "*FileWriter" { |
| 3 |
| 4 static final int DONE = 2; |
| 5 |
| 6 static final int INIT = 0; |
| 7 |
| 8 static final int WRITING = 1; |
| 9 |
| 10 final _FileErrorImpl error; |
| 11 |
| 12 final int length; |
| 13 |
| 14 EventListener onabort; |
| 15 |
| 16 EventListener onerror; |
| 17 |
| 18 EventListener onprogress; |
| 19 |
| 20 EventListener onwrite; |
| 21 |
| 22 EventListener onwriteend; |
| 23 |
| 24 EventListener onwritestart; |
| 25 |
| 26 final int position; |
| 27 |
| 28 final int readyState; |
| 29 |
| 30 void abort() native; |
| 31 |
| 32 void seek(int position) native; |
| 33 |
| 34 void truncate(int size) native; |
| 35 |
| 36 void write(_BlobImpl data) native; |
| 37 } |
OLD | NEW |