com.nitido.nimbox.http.enhanced
Class ClientProfile
java.lang.Object
com.nitido.nimbox.http.enhanced.ClientProfile
- All Implemented Interfaces:
- java.io.Serializable
public class ClientProfile
- extends java.lang.Object
- implements java.io.Serializable
Data object for device info. For now contains only the markup type and
markup version information.
- See Also:
- Serialized Form
Constructor Summary |
ClientProfile(net.sourceforge.wurfl.wurflapi.CapabilityMatrix cm,
java.lang.String deviceID)
|
ClientProfile(java.lang.String markup,
java.lang.String markupVersion)
Short cut constructor that takes only the markup language and
markupVersion. |
ClientProfile(java.lang.String markup,
java.lang.String markupVersion,
int screenWidth,
int screenHeight,
int maxImageWidth,
int maxImageHeight,
int screenColumns,
int screenRows,
int maxDeckSize,
int maxObjectSize,
int maxUrlLengthInRequest,
int maxUrlLengthCachedPage)
Default constructor. |
Method Summary |
int |
getIntCapability(net.sourceforge.wurfl.wurflapi.CapabilityMatrix cm,
java.lang.String deviceID,
java.lang.String key,
int defValue)
|
java.lang.String |
toDebugString()
This method convert the information into string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_markup
public final java.lang.String _markup
_markupVersion
public final java.lang.String _markupVersion
_screenWidth
public final int _screenWidth
_screenHeight
public final int _screenHeight
_maxImageWidth
public final int _maxImageWidth
_maxImageHeight
public final int _maxImageHeight
_screenColumns
public final int _screenColumns
_screenRows
public final int _screenRows
_maxDeckSize
public final int _maxDeckSize
_maxObjectSize
public final int _maxObjectSize
_maxUrlLengthInRequest
public final int _maxUrlLengthInRequest
_maxUrlLengthCachedPage
public final int _maxUrlLengthCachedPage
ClientProfile
public ClientProfile(java.lang.String markup,
java.lang.String markupVersion,
int screenWidth,
int screenHeight,
int maxImageWidth,
int maxImageHeight,
int screenColumns,
int screenRows,
int maxDeckSize,
int maxObjectSize,
int maxUrlLengthInRequest,
int maxUrlLengthCachedPage)
- Default constructor.
- Parameters:
markup
- A string for markup languagemarkupVersion
- A string for markup version
ClientProfile
public ClientProfile(java.lang.String markup,
java.lang.String markupVersion)
- Short cut constructor that takes only the markup language and
markupVersion. All the other fields will be treated as undefined.
- Parameters:
markup
- A string for markup languagemarkupVersion
- A string for markup version
ClientProfile
public ClientProfile(net.sourceforge.wurfl.wurflapi.CapabilityMatrix cm,
java.lang.String deviceID)
- Parameters:
cm
- The CapabilityMatrix for the WURFL.
getIntCapability
public int getIntCapability(net.sourceforge.wurfl.wurflapi.CapabilityMatrix cm,
java.lang.String deviceID,
java.lang.String key,
int defValue)
toDebugString
public java.lang.String toDebugString()
- This method convert the information into string.
The format of the result string is "markup:markupVersion".
These JavaDoc pages are generated for release/nim_2_5-2.5.44 Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.