com.teamdev.xpcom
Class Services

java.lang.Object
  extended by com.teamdev.xpcom.Services

public class Services
extends java.lang.Object

Provides access to application-global Mozilla settings.


Constructor Summary
Services()
           
 
Method Summary
static ProxyConfiguration getProxyConfiguration()
          Returns proxy configuration instance that allows working with proxy settings for the current process.
static void setUserAgent(java.lang.String userAgent)
          Set browser user agent name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Services

public Services()
Method Detail

setUserAgent

public static void setUserAgent(java.lang.String userAgent)
Set browser user agent name

Parameters:
userAgent - user agent name

getProxyConfiguration

public static ProxyConfiguration getProxyConfiguration()
Returns proxy configuration instance that allows working with proxy settings for the current process.

Returns:
proxy configuration instance.
See Also:
ProxyConfiguration