|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.lang.SerializableObject
|
+--com.jdc.app.user.OperatingSystem
|
+--com.jdc.http.user.HttpOperatingSystem
HttpOperatingSystem contains all available information regarding the user's operating system. This operating system information is typically obtained by executing the JavaScript code in EnvironmentSensing.js (include script file).
| Field Summary |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
HttpOperatingSystem()
Constructs a new HttpOperatingSystem object. |
|
| Method Summary | |
String |
getAppVersion()
Returns the operating system appVersion. |
String |
getUserAgent()
Returns the browser user agent property. |
boolean |
isOperatingSystem(String operatingSystem)
Returns true if the operating system is the specified operating system. |
void |
setAppVersion(String appVersion)
Sets the operating system appVersion. |
void |
setUserAgent(String userAgent)
Sets the browser user agent property obtained from the JavaScript: userAgent = navigator.userAgent; |
| Methods inherited from class com.jdc.app.user.OperatingSystem |
getName, isMacintosh, isWindows |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpOperatingSystem()
| Method Detail |
public String getAppVersion()
public String getUserAgent()
public boolean isOperatingSystem(String operatingSystem)
isOperatingSystem in class OperatingSystempublic void setAppVersion(String appVersion)
appVersion - The operating system appVersion.public void setUserAgent(String userAgent)
userAgent - The browser user agent property.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||