Interface IFileEntry

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public platformConfig?: any

[Config Option] (Object)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public uses?: Array<string>

[Config Option] (String[])

Methods

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public copyTo(config?: any)

[Method] Works the same way as moveTo but copies the entry

Parameters

  • config?: any optional

    Object

optional public destroy()

[Method]

optional public getEntry(config?: any)

[Method] Requests a File Handle from the Local File System

Parameters

  • config?: any optional

    Object

optional public getFileSystem(): IFileSystem

[Method] Returns the file system on which the entry resides

Returns

IFileSystem

Ext.device.filesystem.FileSystem The entry file system.

optional public getFullPath(): string

[Method] Returns the full absolute path from the root to the entry

Returns

string

String The entry full path.

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getName(): string

[Method] Returns the name of the entry excluding the path leading to it

Returns

string

String The entry name.

optional public getOffset(): number

[Method] Returns the byte offset into the file at which the next read write will occur

Returns

number

Number The file offset.

optional public getParent(config?: any)

[Method] Looks up the parent directory containing the entry

Parameters

  • config?: any optional

    Object The object which contains the following config options:

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public isDirectory(): boolean

[Method] Returns whether the entry is a directory

Returns

boolean

Boolean The entry is a directory.

optional public isFile(): boolean

[Method] Returns whether the entry is a file

Returns

boolean

Boolean The entry is a file.

optional public moveTo(config?: any)

[Method] Moves the entry to a different location on the file system

Parameters

  • config?: any optional

    Object The object which contains the following config options:

optional public read(config?: any)

[Method] Reads the data from the file starting at the file offset

Parameters

  • config?: any optional

    Object The object which contains the following config options:

optional public remove(config?: any)

[Method] Removes the entry from the file system

Parameters

  • config?: any optional

    Object The object which contains the following config options:

optional public seek(config?: any)

[Method] Sets the byte offset into the file at which the next read write will occur

Parameters

  • config?: any optional

    Object The object which contains the following config options:

optional public truncate(config?: any)

[Method] Truncates or extends the file to the specified size in bytes

Parameters

  • config?: any optional

    Object The object which contains the following config options:

optional public write(config?: any)

[Method] Writes the data to the file starting at the file offset

Parameters

  • config?: any optional

    Object The object which contains the following config options: