@JsType(isNative=true,
namespace="<global>")
public class DirectoryEntry
extends JsObject
| Constructor and Description |
|---|
DirectoryEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
getDirectory(String Path,
FileOptions options,
Functions.Func2<Void,DirectoryEntry> success,
Functions.Func2<Void,FileError> error) |
void |
getFile(String path,
FileOptions options,
Functions.Func2<Void,FileEntry> success,
Functions.Func2<Void,FileError> error) |
FileSystem |
getFileSystem() |
String |
getFullPath() |
String |
getName() |
boolean |
isDirectory() |
boolean |
isFile() |
void |
removeRecursively(Functions.Func2<Void,Void> success,
Functions.Func2<Void,FileError> error) |
getOwnPropertyNames, hasOwnProperty, observepublic DirectoryEntry()
@JsMethod public boolean isFile()
@JsMethod public boolean isDirectory()
@JsMethod public String getFullPath()
@JsMethod public FileSystem getFileSystem()
@JsMethod public void getDirectory(String Path, FileOptions options, Functions.Func2<Void,DirectoryEntry> success, Functions.Func2<Void,FileError> error)
@JsMethod public void removeRecursively(Functions.Func2<Void,Void> success, Functions.Func2<Void,FileError> error)
@JsMethod public void getFile(String path, FileOptions options, Functions.Func2<Void,FileEntry> success, Functions.Func2<Void,FileError> error)
Copyright © 2017. All rights reserved.