OLD | NEW |
1 | 1 |
2 class _EntryJs extends _DOMTypeJs implements Entry native "*Entry" { | 2 class _EntryJs extends _DOMTypeJs implements Entry native "*Entry" { |
3 | 3 |
4 _DOMFileSystemJs get filesystem() native "return this.filesystem;"; | 4 final _DOMFileSystemJs filesystem; |
5 | 5 |
6 String get fullPath() native "return this.fullPath;"; | 6 final String fullPath; |
7 | 7 |
8 bool get isDirectory() native "return this.isDirectory;"; | 8 final bool isDirectory; |
9 | 9 |
10 bool get isFile() native "return this.isFile;"; | 10 final bool isFile; |
11 | 11 |
12 String get name() native "return this.name;"; | 12 final String name; |
13 | 13 |
14 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; | 14 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; |
15 | 15 |
16 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k = null]) native; | 16 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k = null]) native; |
17 | 17 |
18 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) native; | 18 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) native; |
19 | 19 |
20 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; | 20 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; |
21 | 21 |
22 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null]
) native; | 22 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null]
) native; |
23 | 23 |
24 String toURL() native; | 24 String toURL() native; |
25 } | 25 } |
OLD | NEW |