Class JSLINT-RhinoRuntime
Defined in: runtime.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
byteArrayFromString(string, encoding)
|
|
deleteFile(path, callback)
|
|
<inner> |
loadXML(path, callback)
|
<inner> |
log(msgOrCategory, msg)
|
parseXML(xml)
|
|
read(path, offset, length, callback)
|
|
readFileSync(path, encoding)
|
|
requestAnimationFrame(callback)
|
|
<static> |
JSLINT-RhinoRuntime.resolveEntity(publicId, systemId)
|
<inner> |
runtimeReadFile(path, encoding, callback)
|
<inner> |
runtimeReadFileSync(path, encoding)
|
setCurrentDirectory(dir)
|
|
setTimeout(f)
|
|
writeFile(path, data, callback)
|
Field Detail
{*}
fromJson
{*}
getVariable
{!string}
toJson
Method Detail
{!Uint8Array}
byteArrayFromString(string, encoding)
- Parameters:
- {!string} string
- {!string} encoding
- Returns:
- {!Uint8Array}
{undefined}
cancelAnimationFrame()
- Returns:
- {undefined}
{undefined}
clearTimeout()
- Returns:
- {undefined}
{undefined}
deleteFile(path, callback)
- Parameters:
- {!string} path
- {!function(?string):undefined} callback
- Returns:
- {undefined}
{!Array.}
libraryPaths()
- Returns:
- {!Array.}
<inner>
{undefined}
loadXML(path, callback)
- Parameters:
- {!string} path
- {!function(?string|?Document):undefined} callback
- Returns:
- {undefined}
<inner>
{undefined}
log(msgOrCategory, msg)
- Parameters:
- {!string} msgOrCategory
- {string=} msg
- Returns:
- {undefined}
{?Document}
parseXML(xml)
- Parameters:
- {!string} xml
- Returns:
- {?Document}
{undefined}
read(path, offset, length, callback)
- Parameters:
- {!string} path
- {!number} offset
- {!number} length
- {!function(?string|?Uint8Array):undefined} callback
- Returns:
- {undefined}
{!string}
readFileSync(path, encoding)
- Parameters:
- {!string} path
- {!string} encoding
- text encoding or 'binary'
- Returns:
- {!string}
{!number}
requestAnimationFrame(callback)
- Parameters:
- {!function():undefined} callback
- Returns:
- {!number}
<static>
{!Packages.org.xml.sax.InputSource}
JSLINT-RhinoRuntime.resolveEntity(publicId, systemId)
- Parameters:
- {!string} publicId
- {!string} systemId
- Returns:
- {!Packages.org.xml.sax.InputSource}
<inner>
{undefined}
runtimeReadFile(path, encoding, callback)
- Parameters:
- {!string} path
- {!string} encoding
- text encoding or 'binary'
- {!function(?string|?(string|Uint8Array)):undefined} callback
- Returns:
- {undefined}
<inner>
{?string}
runtimeReadFileSync(path, encoding)
- Parameters:
- {!string} path
- {!string} encoding
- Returns:
- {?string}
setCurrentDirectory(dir)
- Parameters:
- {!string} dir
{!number}
setTimeout(f)
- Parameters:
- {!function():undefined} f
- Returns:
- {!number}
{undefined}
writeFile(path, data, callback)
- Parameters:
- {!string} path
- {!Uint8Array} data
- {!function(?string):undefined} callback
- Returns:
- {undefined}