ia.File Class
Class for loading data.
Constructor
ia.File
()
Methods
getFileDirectory
(
static
-
url
-
The
Returns the file directory.
Parameters:
-
url
StringThe file path.
-
The
Stringfile directory.
getFileName
(
static
-
url
-
The
Returns the file name.
Parameters:
-
url
StringThe file path.
-
The
Stringfile name.
load
(
static
-
options
Loads a file.
Parameters:
-
options
ObjectObject literal containing url, type, onSuccess(), onFail().
Properties
errorHandler
String
If set, overrides default error reporting - requested by KM for server.