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 FileReader default _FileReaderFactoryProvider { | |
8 | |
9 FileReader(); | |
10 | |
11 static final int DONE = 2; | |
12 | |
13 static final int EMPTY = 0; | |
14 | |
15 static final int LOADING = 1; | |
16 | |
17 final FileError error; | |
18 | |
19 EventListener onabort; | |
20 | |
21 EventListener onerror; | |
22 | |
23 EventListener onload; | |
24 | |
25 EventListener onloadend; | |
26 | |
27 EventListener onloadstart; | |
28 | |
29 EventListener onprogress; | |
30 | |
31 final int readyState; | |
32 | |
33 final Object result; | |
34 | |
35 void abort(); | |
36 | |
37 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
38 | |
39 bool dispatchEvent(Event evt); | |
40 | |
41 void readAsArrayBuffer(Blob blob); | |
42 | |
43 void readAsBinaryString(Blob blob); | |
44 | |
45 void readAsDataURL(Blob blob); | |
46 | |
47 void readAsText(Blob blob, [String encoding]); | |
48 | |
49 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
50 } | |
OLD | NEW |