OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class EntrySyncWrappingImplementation extends DOMWrapperBase implements EntrySyn
c { | |
8 EntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 DOMFileSystemSync get filesystem() { return LevelDom.wrapDOMFileSystemSync(_pt
r.filesystem); } | |
11 | |
12 String get fullPath() { return _ptr.fullPath; } | |
13 | |
14 bool get isDirectory() { return _ptr.isDirectory; } | |
15 | |
16 bool get isFile() { return _ptr.isFile; } | |
17 | |
18 String get name() { return _ptr.name; } | |
19 | |
20 EntrySync copyTo(DirectoryEntrySync parent, String name) { | |
21 return LevelDom.wrapEntrySync(_ptr.copyTo(LevelDom.unwrap(parent), name)); | |
22 } | |
23 | |
24 Metadata getMetadata() { | |
25 return LevelDom.wrapMetadata(_ptr.getMetadata()); | |
26 } | |
27 | |
28 DirectoryEntrySync getParent() { | |
29 return LevelDom.wrapDirectoryEntrySync(_ptr.getParent()); | |
30 } | |
31 | |
32 EntrySync moveTo(DirectoryEntrySync parent, String name) { | |
33 return LevelDom.wrapEntrySync(_ptr.moveTo(LevelDom.unwrap(parent), name)); | |
34 } | |
35 | |
36 void remove() { | |
37 _ptr.remove(); | |
38 return; | |
39 } | |
40 | |
41 String toURL() { | |
42 return _ptr.toURL(); | |
43 } | |
44 } | |
OLD | NEW |