load


Description:

public bool load (Cancellable? cancellable = null) throws Error

Reloads data source content from the file pointed to by the file property.

If the file property is null or the file it points to does not exist, the function does nothing and returns true.

If a read error occurs or the file contains syntax errors, the function sets throws and returns false.

Parameters:

this

an ServerSideSource

cancellable

optional Cancellable object, or null

Returns:

true on success, false on failure