Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Properties

Abstract created

created: Date

Abstract extra

extra: Object

Abstract icon

icon: string | null

Abstract id

id: string

Abstract lastModified

lastModified: Date

Abstract name

name: string

Accessors

directory

directory:

mimeType

mimeType:

size

size:

url

url:

Static mimeType

mimeType:

Methods

Abstract addDirectory

  • addDirectory(name: string): Promise<Directory>

Abstract addFile

  • addFile(fileData: ArrayBuffer, filename: string, mimeType: undefined | string): Promise<File>
  • Parameters

    • fileData: ArrayBuffer
    • filename: string
    • Optional mimeType: undefined | string

    Returns Promise<File>

addOnChangeListener

  • addOnChangeListener(listener: function): void

copy

  • copy(targetDirectory: Directory): Promise<void>

Abstract delete

  • delete(): Promise<void>

dispatchChangeEvent

  • dispatchChangeEvent(): void

Abstract getChildren

  • getChildren(): Promise<File[]>

getFile

  • getFile(pathArray: string[]): Promise<File>
  • Parameters

    • pathArray: string[]

    Returns Promise<File>

    • The file object located at the given path.

move

  • move(targetDirectory: Directory): Promise<void>

read

  • read(): Promise<ArrayBuffer>

readJSON

  • readJSON(): Promise<any>

readText

  • readText(): Promise<string>

removeOnChangeListener

  • removeOnChangeListener(listener: function): void

Abstract rename

  • rename(newName: string): Promise<void>

Abstract search

toString

  • toString(): string

write

  • write(data: ArrayBuffer): Promise<ArrayBuffer>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc