|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.webcontainer.ClientProperties
public class ClientProperties
A description of the client browser environment.
Field Summary | |
---|---|
static java.lang.String |
BROWSER_CHROME
Flag indicating that the browser is a derivative of the Google Chrome platform. |
static java.lang.String |
BROWSER_INTERNET_EXPLORER
Flag indicating that the browser is a derivative of the Microsoft Internet Explorer browser platform. |
static java.lang.String |
BROWSER_KONQUEROR
Flag indicating that the browser is a derivative of the KDE Konqueror browser platform. |
static java.lang.String |
BROWSER_MOZILLA
Flag indicating that the browser is a derivative of the Mozilla 1.0-1.8+ browser platform. |
static java.lang.String |
BROWSER_MOZILLA_FIREFOX
Flag indicating that the browser is a derivative of the Mozilla Firefox 1.0+ browser platform. |
static java.lang.String |
BROWSER_OPERA
Flag indicating that the browser is a derivative of the Opera browser platform. |
static java.lang.String |
BROWSER_SAFARI
Flag indicating that the browser is a derivative of the Apple Safari browser platform. |
static java.lang.String |
BROWSER_VERSION_MAJOR
The major version number of the browser. |
static java.lang.String |
BROWSER_VERSION_MINOR
The minor version number of the browser. |
static java.lang.String |
ENGINE_GECKO
Flag indicating the layout engine is Mozilla Gecko. |
static java.lang.String |
ENGINE_KHTML
Flag indicating the layout engine is KHTML (from Konqueror). |
static java.lang.String |
ENGINE_MSHTML
Flag indicating the layout engine is MSHTML / Trident. |
static java.lang.String |
ENGINE_PRESTO
Flag indicating the layout engine is Presto (Opera). |
static java.lang.String |
ENGINE_VERSION_MAJOR
The major version number of the layout engine. |
static java.lang.String |
ENGINE_VERSION_MINOR
The minor version number of the layout engine. |
static java.lang.String |
ENGINE_WEBKIT
Flag indicating the layout engine is WebKit. |
static java.lang.String |
LOCALES
The Locale of the client, derived from the language property. |
static java.lang.String |
NAVIGATOR_APP_CODE_NAME
The client's navigator.appCodeName property. |
static java.lang.String |
NAVIGATOR_APP_NAME
The client's navigator.appName property. |
static java.lang.String |
NAVIGATOR_APP_VERSION
The client's navigator.appVersion property. |
static java.lang.String |
NAVIGATOR_COOKIE_ENABLED
The client's navigator.cookieEnabled property. |
static java.lang.String |
NAVIGATOR_JAVA_ENABLED
The client's navigator.javaEnabled property. |
static java.lang.String |
NAVIGATOR_LANGUAGE
The client's navigator.language (or navigator.userLanguage) property. |
static java.lang.String |
NAVIGATOR_PLATFORM
The client's navigator.platform property. |
static java.lang.String |
NAVIGATOR_USER_AGENT
The client's navigator.userAgent property. |
static java.lang.String |
REMOTE_HOST
The client host. |
static java.lang.String |
SCREEN_COLOR_DEPTH
Color depth of the screen in bits (integer). |
static java.lang.String |
SCREEN_HEIGHT
Height of the screen in pixels (integer). |
static java.lang.String |
SCREEN_WIDTH
Width of the screen in pixels (integer). |
static java.lang.String |
UTC_OFFSET
The client's time offset from UTC in minutes. |
Constructor Summary | |
---|---|
ClientProperties()
Creates a new ClientProperties object. |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String propertyName)
Returns the value of the specified property as an Object . |
boolean |
getBoolean(java.lang.String propertyName)
Returns a boolean property. |
int |
getInt(java.lang.String propertyName,
int nullValue)
Returns a int property. |
java.lang.String[] |
getPropertyNames()
Returns an array of all property names which are set. |
java.lang.String |
getString(java.lang.String propertyName)
Returns a String property. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Sets the value of the specified property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SCREEN_WIDTH
public static final java.lang.String SCREEN_HEIGHT
public static final java.lang.String SCREEN_COLOR_DEPTH
public static final java.lang.String BROWSER_MOZILLA
public static final java.lang.String BROWSER_CHROME
public static final java.lang.String BROWSER_MOZILLA_FIREFOX
public static final java.lang.String BROWSER_INTERNET_EXPLORER
public static final java.lang.String BROWSER_KONQUEROR
public static final java.lang.String BROWSER_SAFARI
public static final java.lang.String BROWSER_OPERA
public static final java.lang.String BROWSER_VERSION_MAJOR
public static final java.lang.String BROWSER_VERSION_MINOR
public static final java.lang.String ENGINE_GECKO
public static final java.lang.String ENGINE_KHTML
public static final java.lang.String ENGINE_MSHTML
public static final java.lang.String ENGINE_PRESTO
public static final java.lang.String ENGINE_VERSION_MAJOR
public static final java.lang.String ENGINE_VERSION_MINOR
public static final java.lang.String ENGINE_WEBKIT
public static final java.lang.String LOCALES
Locale
of the client, derived from the language property.
public static final java.lang.String NAVIGATOR_APP_NAME
public static final java.lang.String NAVIGATOR_APP_VERSION
public static final java.lang.String NAVIGATOR_APP_CODE_NAME
public static final java.lang.String NAVIGATOR_COOKIE_ENABLED
public static final java.lang.String NAVIGATOR_JAVA_ENABLED
public static final java.lang.String NAVIGATOR_LANGUAGE
public static final java.lang.String NAVIGATOR_PLATFORM
public static final java.lang.String NAVIGATOR_USER_AGENT
public static final java.lang.String REMOTE_HOST
ClientProperties
object was created, which is not
necessarily the same as that making the current HTTP request.
public static final java.lang.String UTC_OFFSET
Constructor Detail |
---|
public ClientProperties()
ClientProperties
object.
Method Detail |
---|
public java.lang.Object get(java.lang.String propertyName)
Object
.
propertyName
- the property name
public boolean getBoolean(java.lang.String propertyName)
boolean
property.
If the property is not set, false
is returned.
propertyName
- the property name
public int getInt(java.lang.String propertyName, int nullValue)
int
property.
If the property is not set, nullValue
is returned.
propertyName
- the property namenullValue
- the returned value when the property is not set
public java.lang.String getString(java.lang.String propertyName)
String
property.
If the property is not set, null
is returned.
propertyName
- the property name
public java.lang.String[] getPropertyNames()
public void setProperty(java.lang.String propertyName, java.lang.Object propertyValue)
propertyName
- the property namepropertyValue
- the property valuepublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |