|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.util.Emulation
Emulation class is used to provide current IB emulation mode information from a single source.
| Constructor Summary | |
Emulation()
|
|
| Method Summary | |
static String |
getEmulatedAppCodeName()
Gets the current browser emulation mode appName. |
static String |
getEmulatedAppName()
Gets the current browser emulation appName. |
static String |
getEmulatedAppVersion()
Gets the current browser emulation appVersion. |
static String |
getEmulatedPlatform()
Gets the current emulated browser platform description. |
static String |
getEmulatedUserAgent()
Gets the current emulated user-agent string. |
static String |
getEmulationMode()
Gets the current browser emulation mode, as defined by the current value of the "ice.browser.emulation" system property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Emulation()
| Method Detail |
public static String getEmulationMode()
This method returns one of the following values:
Note: If a value other than those specified above is returned, ICEbrowser native mode is enabled (no emulation).
public static String getEmulatedAppCodeName()
This is always "Mozilla".
public static String getEmulatedAppName()
If the "ice.browser.appName" system property is defined its value is returned,
otherwise a value associated with the current emulation mode is returned.
public static String getEmulatedAppVersion()
If the "ice.browser.appVersion" system property is defined, that is returned
otherwise a value associated with the current emulation mode is returned.
public static String getEmulatedPlatform()
A value associated with the current emulation mode and hardware/software platform is returned.
public static String getEmulatedUserAgent()
If the "ice.browser.http.agent" system property is defined its value is returned,
otherwise a value associated with the current emulation mode is returned.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||