| 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: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName Entry | |
| 10 interface Entry { | |
| 11 | |
| 12 /** @domName Entry.filesystem */ | |
| 13 final DOMFileSystem filesystem; | |
| 14 | |
| 15 /** @domName Entry.fullPath */ | |
| 16 final String fullPath; | |
| 17 | |
| 18 /** @domName Entry.isDirectory */ | |
| 19 final bool isDirectory; | |
| 20 | |
| 21 /** @domName Entry.isFile */ | |
| 22 final bool isFile; | |
| 23 | |
| 24 /** @domName Entry.name */ | |
| 25 final String name; | |
| 26 | |
| 27 /** @domName Entry.copyTo */ | |
| 28 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); | |
| 29 | |
| 30 /** @domName Entry.getMetadata */ | |
| 31 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]); | |
| 32 | |
| 33 /** @domName Entry.getParent */ | |
| 34 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]); | |
| 35 | |
| 36 /** @domName Entry.moveTo */ | |
| 37 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); | |
| 38 | |
| 39 /** @domName Entry.remove */ | |
| 40 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]); | |
| 41 | |
| 42 /** @domName Entry.toURL */ | |
| 43 String toURL(); | |
| 44 } | |
| OLD | NEW |