Module Filesystem

Index

Variables

Enumerations

Interfaces

Functions

Variables

MODE_APPEND: number

MODE_READ: number

MODE_WRITE: number

applicationCacheDirectory: string

applicationDataDirectory: string

applicationDirectory: string

applicationSupportDirectory: string

bubbleParent: boolean

externalStorageDirectory: string

lineEnding: string

resRawDirectory: string

resourcesDirectory: string

separator: string

tempDirectory: string

Functions

addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

applyProperties(props: Dictionary)

Parameters

createTempDirectory(): File

Returns

File

createTempFile(): File

Returns

File

fireEvent(name: string, event: Dictionary)

Parameters

getApplicationCacheDirectory(): string

Returns

string

getApplicationDataDirectory(): string

Returns

string

getApplicationDirectory(): string

Returns

string

getApplicationSupportDirectory(): string

Returns

string

getBubbleParent(): boolean

Returns

boolean

getExternalStorageDirectory(): string

Returns

string

getFile(path: string): File

Parameters

  • path: string

Returns

File

getLineEnding(): string

Returns

string

getResRawDirectory(): string

Returns

string

getResourcesDirectory(): string

Returns

string

getSeparator(): string

Returns

string

getTempDirectory(): string

Returns

string

isExternalStoragePresent(): boolean

Returns

boolean

openStream(mode: number, path: string): FileStream

Parameters

  • mode: number
  • path: string

Returns

FileStream

removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean