|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jniwrapper.win32.ie.Browsers
public class Browsers
This is a utility class for browser-related operations.
| Field Summary | |
|---|---|
static InternetFeatures |
PROCESS_FEATURES
The Internet features for the current process. |
static InternetFeatures |
THREAD_FEATURES
The Internet features for the current thread. |
static InternetFeatures |
THREAD_INTERNET_FEATURES
The Internet features for the Internet zone. |
static InternetFeatures |
THREAD_INTRANET_FEATURES
The Internet features for the intranet zone. |
static InternetFeatures |
THREAD_LOCALMACHINE_FEATURES
The Internet features for the local machine zone. |
static InternetFeatures |
THREAD_RESTRICTED_FEATURES
The Internet features for the restricted zone. |
static InternetFeatures |
THREAD_TRUSTED_FEATURES
The Internet features for the trusted zone. |
| Method Summary | |
|---|---|
static void |
clearCache(com.jniwrapper.win32.wininet.InternetCacheEntry cacheEntry)
Clears the Internet Explorer cache. |
static com.jniwrapper.win32.shdocvw.IWebBrowser2 |
getBrowserPeer(WebBrowser browser)
Returns an instance of the native web browser peer IWebBrowser2 of the passed browser object. |
static com.jniwrapper.win32.ui.Wnd |
getBrowserWindow(WebBrowser browser)
Returns handle of the browser window. |
static java.lang.String |
getIEVersion()
Returns a major version of system MS Internet Explorer application. |
static com.jniwrapper.win32.automation.OleMessageLoop |
getOleMessageLoop(WebBrowser browser)
Returns an instance of the message loop support OleMessageLoop of the passed browser object. |
static ProxyConfiguration |
getProxy()
Returns the system local area network (LAN) proxy settings. |
static com.jniwrapper.win32.winhttp.ProxySettings |
getProxySettings()
Deprecated. use the getProxy() method instead |
static boolean |
isBrowserSupported()
Function that determines if the IE browser version is supported. |
static boolean |
isSameBrowserPeer(WebBrowser webBrowser1,
WebBrowser webBrowser2)
Returns true if both object are web browsers for the same native browser. |
static void |
setProxy(ProxyConfiguration conf)
Updates the system local area network (LAN) proxy settings to the specified proxy server configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final InternetFeatures THREAD_FEATURES
public static final InternetFeatures PROCESS_FEATURES
public static final InternetFeatures THREAD_LOCALMACHINE_FEATURES
public static final InternetFeatures THREAD_INTRANET_FEATURES
public static final InternetFeatures THREAD_TRUSTED_FEATURES
public static final InternetFeatures THREAD_INTERNET_FEATURES
public static final InternetFeatures THREAD_RESTRICTED_FEATURES
| Method Detail |
|---|
public static com.jniwrapper.win32.shdocvw.IWebBrowser2 getBrowserPeer(WebBrowser browser)
IWebBrowser2 of the passed browser object.
browser - browser object.
public static com.jniwrapper.win32.automation.OleMessageLoop getOleMessageLoop(WebBrowser browser)
OleMessageLoop of the passed browser object.
browser - browser object.
public static boolean isSameBrowserPeer(WebBrowser webBrowser1,
WebBrowser webBrowser2)
webBrowser1 - the first instance to comparewebBrowser2 - the second instance to compare
public static com.jniwrapper.win32.ui.Wnd getBrowserWindow(WebBrowser browser)
browser - browser object
public static boolean isBrowserSupported()
public static ProxyConfiguration getProxy()
setProxy(ProxyConfiguration)public static void setProxy(ProxyConfiguration conf)
getProxy() method.
conf - the proxy settings to apply.
java.lang.IllegalArgumentException - when the conf parameter is
nullgetProxy()
public static com.jniwrapper.win32.winhttp.ProxySettings getProxySettings()
throws com.jniwrapper.win32.winhttp.WinHttpException
getProxy() method instead
com.jniwrapper.win32.winhttp.WinHttpException - when some errors occurs during
receiving proxy settingsgetProxy()public static java.lang.String getIEVersion()
null when
some errors happen during version receiving.public static void clearCache(com.jniwrapper.win32.wininet.InternetCacheEntry cacheEntry)
To clear:
InternetCacheEntry.NORMAL_CACHE_ENTRY value.InternetCacheEntry.COOKIE_CACHE_ENTRY value.InternetCacheEntry.URLHISTORY_CACHE_ENTRY value.
cacheEntry - Internet cache entry type that will be cleared.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||