Interface FileEntry

Hierarchy

Index

Properties

Methods

Properties

public filesystem: FileSystem

public fullPath: string

public isDirectory: boolean

public isFile: boolean

public name: string

Methods

public copyTo(parentEntry: DirectoryEntry, file: string, onSuccess: (arg: DirectoryEntry) => void, onError: (arg: FileError) => void)

Parameters

  • parentEntry: DirectoryEntry
  • file: string
  • onSuccess: (arg: DirectoryEntry) => void
  • onError: (arg: FileError) => void

public createWriter(onSuccess?: (arg: FileWriter) => void, onError?: (arg: FileError) => void)

Parameters

  • onSuccess?: (arg: FileWriter) => void optional
  • onError?: (arg: FileError) => void optional

public file(onSuccess?: (arg: File) => void, onError?: (arg: FileError) => void)

Parameters

  • onSuccess?: (arg: File) => void optional
  • onError?: (arg: FileError) => void optional

public getMetadata(onSuccess?: (arg: Metadata) => void, onError?: (arg: FileError) => void)

Parameters

  • onSuccess?: (arg: Metadata) => void optional
  • onError?: (arg: FileError) => void optional

public getParent(onSuccess?: (arg: DirectoryEntry) => void, onError?: (arg: FileError) => void)

Parameters

  • onSuccess?: (arg: DirectoryEntry) => void optional
  • onError?: (arg: FileError) => void optional

public moveTo(parentEntry: DirectoryEntry, file: string, onSuccess: (arg: DirectoryEntry) => void, onError: (arg: FileError) => void)

Parameters

  • parentEntry: DirectoryEntry
  • file: string
  • onSuccess: (arg: DirectoryEntry) => void
  • onError: (arg: FileError) => void

public remove(onSuccess?: () => void, onError?: (arg: FileError) => void)

Parameters

  • onSuccess?: () => void optional
  • onError?: (arg: FileError) => void optional

public setMetadata(onSuccess?: (arg: Metadata) => void, onError?: (arg: FileError) => void, options?: any)

Parameters

  • onSuccess?: (arg: Metadata) => void optional
  • onError?: (arg: FileError) => void optional
  • options?: any optional

public toURL(): string

Returns

string