Class: UrlUtils

UrlUtils()

new UrlUtils()

class containing utils for URLs
Source:

Methods

extractBlock(pURL, pParameter, pSplit) → {String}

Extracts a query param from an URL
Parameters:
Name Type Description
pURL String the text from which the parameter should be read
pParameter String Name of the parameter (Messaging mit Default Trenner: - im.internal: "id=", "title_ack=", "title_dcl=", "text_ack=", "text_dcl=", "desc=", "name=", "result=", "decidable=", "icon=", "icon_ack=", "icon_dcl=" - im.file: "id=", "size=", "result=", "requestor=")
pSplit String opt der String, which marks the end of the param value, standard is '&'
Source:
Returns:
the extracted value or null if param not existent
Type
String

openUrl(pUrl, pBrowserType) → {void}

opens the browser
Parameters:
Name Type Description
pUrl String req
pBrowserType String opt Browser type 1 = Native (Internet Explorer Rendering Engine) ,2 = JavaFX (WebKit Rendering Engine), 3 = Native, if possible. default is 2;
Source:
Returns:
Type
void