⁘ io.core

Resource

go to → Members

Extends

Broadcasting

This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals

Methods

Unwatch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

Watch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

WatchOnce(p_signalId, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

protected_Broadcast(p_signal, …args)

Inherited From:
Initialization

Methods

protectedoverride-me_Init()

Inherited From:

protectedoverride-me_PostInit()

Inherited From:
Utils

Methods

protected_Bind(p_func)

Inherited From:
Pooling

Group of methods related to the NKMjs pooling system.

Members

read-onlyisReleasing :boolean

Inherited From:

Methods

Release()

Inherited From:

protectedoverride-me_CleanUp()

Inherited From:
Misc

Members

content :*

TODO

directory :io.core.Resource

TODO

encoding :io.core.ENCODING

TODO

exists :boolean

TODO

read-onlyisDir :boolean

TODO

read-onlyloaded :boolean

TODO

read-onlyloaded :boolean

TODO

mime :MIMEDefinition

TODO

read-onlyname :string

TODO

path :string

TODO

raw :*

TODO

read-onlystate :io.core.RESSOURCE_STATE

TODO

stats :object

TODO

Methods

CancelOperation()

Cancels the ongoing operation, if any

Delete(p_options)

TODO

Parameters:
Name Type Default Description
p_options object null
Properties
Name Type Description
io string

IO_TYPE

success function
error function
any function

DeleteAndRelease()

TODO

PreventRelease()

Inherited From:

Read(p_options)

TODO

Parameters:
Name Type Default Description
p_options object null
Properties
Name Type Description
io string

IO_TYPE

success function
error function
any function

Rename(p_newPath, p_options)

TODO

Parameters:
Name Type Default Description
p_newPath string
p_options object null
Properties
Name Type Description
io string

IO_TYPE

success function
error function
any function

Write(p_options)

TODO

Parameters:
Name Type Default Description
p_options object null
Properties
Name Type Description
io string

IO_TYPE

success function
error function
any function

Members

staticprotecteddefaultType

TODO

Methods

protectedoverride-me_Decode()

Deserialize is called by the IO system in order to get a readable version of the resource's content by the app.

protectedoverride-me_Encode()

Serialize is called by the IO system in order to get a 'raw', writable version of the resource's content.