public interface

PacScriptSource

com.microstrategy.utils.proxy.PacScriptSource
Known Indirect Subclasses

Class Overview

An source to fetch the PAC script from.

Summary

Public Methods
abstract String getScriptContent()
Gets the PAC script content as String.
abstract boolean isScriptValid()
Checks if the content of the script is valid and if it is possible to use this script source for a PAC selector.

Public Methods

public abstract String getScriptContent ()

Gets the PAC script content as String.

Returns
  • a script.
Throws
IOException on read error.

public abstract boolean isScriptValid ()

Checks if the content of the script is valid and if it is possible to use this script source for a PAC selector. Note that this might trigger a download of the script content from a remote location.

Returns
  • true if everything is fine, else false.