Interface FileSystemDirectoryEntry
interface FileSystemDirectoryEntry {
filesystem: FileSystem;
fullPath: string;
isDirectory: boolean;
isFile: boolean;
name: string;
createReader(): FileSystemDirectoryReader;
getDirectory(path?: string, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
getFile(path?: string, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
}
filesystem: FileSystem;
fullPath: string;
isDirectory: boolean;
isFile: boolean;
name: string;
createReader(): FileSystemDirectoryReader;
getDirectory(path?: string, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
getFile(path?: string, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
}
Hierarchy
- FileSystemEntry
- FileSystemDirectoryEntry (view full)
Index
Properties
Methods
Properties
Readonly
filesystem
Readonly
fullPath
fullPath : string
Readonly
isDirectory
isDirectory : boolean
Readonly
isFile
isFile : boolean
Readonly
name
name: string
Methods
createReader
- create
Reader (): FileSystemDirectoryReader Returns FileSystemDirectoryReader
getDirectory
- get
Directory (path?, options?, successCallback?, errorCallback?): void Parameters
Optional
path: stringOptional
options: FileSystemFlagsOptional
successCallback: FileSystemEntryCallbackOptional
errorCallback: ErrorCallback
Returns void
getFile
- get
File (path?, options?, successCallback?, errorCallback?): void Parameters
Optional
path: stringOptional
options: FileSystemFlagsOptional
successCallback: FileSystemEntryCallbackOptional
errorCallback: ErrorCallback
Returns void
getParent
- get
Parent (successCallback?, errorCallback?): void Parameters
Optional
successCallback: FileSystemEntryCallbackOptional
errorCallback: ErrorCallback
Returns void
MDN Reference