Package net.sourceforge.jnlp.proxy.pac
Class PacUtils
- java.lang.Object
-
- net.sourceforge.jnlp.proxy.pac.PacUtils
-
public class PacUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PacUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.net.Proxy>getProxiesFromPacResult(java.lang.String pacString)Converts a proxy string from a browser into a List of Proxy objects suitable for java.
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
-
Method Detail
-
getProxiesFromPacResult
public static java.util.List<java.net.Proxy> getProxiesFromPacResult(java.lang.String pacString)
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
-
-