Interface FlashFLfile

Index

Methods

Methods

public copy(fileURI: string, copyURI: string): boolean

Parameters

  • fileURI: string
  • copyURI: string

Returns

boolean

public createFolder(folderURI: string): boolean

Parameters

  • folderURI: string

Returns

boolean

public exists(fileURI: string): boolean

Parameters

  • fileURI: string

Returns

boolean

public getAttributes(fileOrFolderURI: string): string

Parameters

  • fileOrFolderURI: string

Returns

string

public getCreationDate(fileOrFolderURI: string): string

Parameters

  • fileOrFolderURI: string

Returns

string

public getCreationDateObj(fileOrFolderURI: string): Date

Parameters

  • fileOrFolderURI: string

Returns

Date

public getModificationDate(fileOrFolderURI: string): string

Parameters

  • fileOrFolderURI: string

Returns

string

public getModificationDateObj(fileOrFolderURI: string): Date

Parameters

  • fileOrFolderURI: string

Returns

Date

public getSize(fileURI: string): number

Parameters

  • fileURI: string

Returns

number

public listFolder(folderURI: string, filesOrDirectories?: boolean): Array<string>

Parameters

  • folderURI: string
  • filesOrDirectories?: boolean optional

Returns

Array<string>

public platformPathToURI(fileName: string): string

Parameters

  • fileName: string

Returns

string

public read(fileOrFolderURI: string): string

Parameters

  • fileOrFolderURI: string

Returns

string

public remove(fileOrFolderURI: string): boolean

Parameters

  • fileOrFolderURI: string

Returns

boolean

public setAttributes(fileURI: string, strAttrs: string): boolean

Parameters

  • fileURI: string
  • strAttrs: string

Returns

boolean

public uriToPlatformPath(fileURI: string): string

Parameters

  • fileURI: string

Returns

string

public write(fileURI: string, textToWrite: string, strAppendMode?: string): boolean

Parameters

  • fileURI: string
  • textToWrite: string
  • strAppendMode?: string optional

Returns

boolean