OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface Entry { | 7 interface Entry { |
8 | 8 |
9 DOMFileSystem get filesystem(); | 9 final DOMFileSystem filesystem; |
10 | 10 |
11 String get fullPath(); | 11 final String fullPath; |
12 | 12 |
13 bool get isDirectory(); | 13 final bool isDirectory; |
14 | 14 |
15 bool get isFile(); | 15 final bool isFile; |
16 | 16 |
17 String get name(); | 17 final String name; |
18 | 18 |
19 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); | 19 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); |
20 | 20 |
21 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]); | 21 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]); |
22 | 22 |
23 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]); | 23 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]); |
24 | 24 |
25 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); | 25 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); |
26 | 26 |
27 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]); | 27 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]); |
28 | 28 |
29 String toURL(); | 29 String toURL(); |
30 } | 30 } |
OLD | NEW |