OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 interface FileWriter { |
| 8 |
| 9 static final int DONE = 2; |
| 10 |
| 11 static final int INIT = 0; |
| 12 |
| 13 static final int WRITING = 1; |
| 14 |
| 15 final FileError error; |
| 16 |
| 17 final int length; |
| 18 |
| 19 EventListener onabort; |
| 20 |
| 21 EventListener onerror; |
| 22 |
| 23 EventListener onprogress; |
| 24 |
| 25 EventListener onwrite; |
| 26 |
| 27 EventListener onwriteend; |
| 28 |
| 29 EventListener onwritestart; |
| 30 |
| 31 final int position; |
| 32 |
| 33 final int readyState; |
| 34 |
| 35 void abort(); |
| 36 |
| 37 void seek(int position); |
| 38 |
| 39 void truncate(int size); |
| 40 |
| 41 void write(Blob data); |
| 42 } |
OLD | NEW |