|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
No overview generated for 'common.js'
| Method Summary | |
static string
|
base64ToString(<string> encStr)
decode a string of Base64 to normal text See this site for the method usede: http://www.faqts.com/knowledge_base/view.phtml/aid/1748 |
static int
|
checkRemoteFileLength( url )
Trys to determine the length of a remote file using an HTTP "HEAD" request. |
static void
|
downloadWithManager( <string> sourceUri, <File> targetFile, <boolean> suppress )
Download a file using the "Download Manager" to allow the user to monitor progress. |
static DOMElement
|
geid( <string> id )
does the equivelent of document.getElementById( id ) |
static string
|
getFilepathFromURL( <string> url )
Return a proper platform specific filepath from a "file://" url. |
static Object
|
getGemstonePref( <string> pref )
Provides access to Gemstone's user and internal preferences |
static File
|
getTempDir( <string> name, <int> permissions )
create a dir for temporary use |
static File
|
getTempFile( <string> name, <int> permissions )
create a file for temporary use on a mac the file is created in Library/Cache/ |
static void
|
openExternalURI(<string> aPath)
last resort for opening an unknown file/directory on the system. |
static Object
|
paramErrorCheck( <string> mode, <string> paramName, <array> paramArray, msg, custom)
Check whether various given parameters are NOT valid. |
static array
|
readByteArray( content, <string> mode )
return file contents as an array of bytes |
static void
|
saveLocalFile( <string> path, <string> text, replace )
Save text to a file |
static void
|
setGemstoneBoolPref( <string> pref, <boolean> value )
Sets a boolean preference |
static void
|
setGemstoneIntPref( <string> pref, <int> value )
Sets an integer preference |
static void
|
setGemstoneStringPref( <string> pref, <string> value )
Sets a string preference |
static Object
|
showFilePicker( <string> aMode, <string> aTitle, <array> filters, <string> aDefaultName, <nsILocalFile> aDefaultDir )
display a filepicker and return the selection does not catch exceptions, caller is responsible. |
static string
|
simplePrompt( <string> msg, <string> initial )
Prompt the user for a simple string of info from the user |
static string
|
stringToBase64( <string> aString )
convert a string of text to Base64 |
static void
|
trace( <string> msg )
logs an information-level message to the JavaScript/Error console. |
static array
|
xPathSearch(<DOM> aXmlDoc, <string> aXpath)
do an xPath search on a document |
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||