Class PacUtils
java.lang.Object
net.sourceforge.jnlp.proxy.pac.PacUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProxiesFromPacResult(String pacString) Converts a proxy string from a browser into a List of Proxy objects suitable for java.
-
Field Details
-
LOG
-
-
Constructor Details
-
PacUtils
public PacUtils()
-
-
Method Details
-
getProxiesFromPacResult
Converts a proxy string from a browser into a List of Proxy objects suitable for java.- Parameters:
pacString- a string indicating proxies. For example "PROXY foo.bar:3128; DIRECT"- Returns:
- a list of Proxy objects representing the parsed string. In case of malformed input, an empty list may be returned
-