Interface IDirectoryEntry

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 getDirectory(config?: any)

[Method] Works the same way as getFile but creates or looks up a directory

Parameters

  • config?: any optional

    Object

optional public getEntry(config?: any)

[Method] Requests a Directory from the Local File System

Parameters

  • config?: any optional

    Object

optional public getFile(config?: any)

[Method] Creates or looks up a file

Parameters

  • config?: any optional

    Object The object which contains the following config options:

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 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 readEntries(config?: any)

[Method] Lists all the entries in the directory

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 removeRecursively(config?: any)

[Method] Works the same way as Ext device filesystem Entry remove but removes the directory and all of its contents if any

Parameters

  • config?: any optional

    Object