public abstract class PacHelperMethods extends Object implements PacHelperMethodsNetscape, PacHelperMethodsMicrosoft
The 'Helpers' are utility functions that the PAC script can make use of.
Constructor and Description |
---|
PacHelperMethods() |
Modifier and Type | Method and Description |
---|---|
void |
alert(String message)
Writes something to log or elsewhere.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dateRange, dnsDomainIs, dnsDomainLevels, dnsResolve, isInNet, isPlainHostName, isResolvable, localHostOrDomainIs, myIpAddress, shExpMatch, timeRange, weekdayRange
dnsResolveEx, getClientVersion, isInNetEx, isResolvableEx, myIpAddressEx, sortIpAddressList
public void alert(String message)
alert()
function.
Note that the JavaScript alert()
function should not be used in
a production PAC script. It is only intended for debugging and
unit test purpose.
The default implementation simply writes to stderr.
message
- text to log