oracle.portal.provider.v2.render
Class DeviceInfo
java.lang.Object
oracle.portal.provider.v2.render.DeviceInfo
public class DeviceInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceInfo
public DeviceInfo(DeviceInfo.DeviceClass deviceClass,
DeviceInfo.DeviceOrientation orientation,
long maxDocSize,
boolean secure)
getDeviceClass
public DeviceInfo.DeviceClass getDeviceClass()
- Returns:
- the classification of the device.
setDeviceClass
public void setDeviceClass(DeviceInfo.DeviceClass deviceClass)
- Parameters:
deviceClass
- the classification of the device.
getOrientation
public DeviceInfo.DeviceOrientation getOrientation()
- Returns:
- the orientation of the device.
setOrientation
public void setOrientation(DeviceInfo.DeviceOrientation orientation)
- Parameters:
orientation
- the orientation of the device.
getMaxDocSize
public long getMaxDocSize()
- Returns:
- the estimated maximum size in bytes the device supports.
setMaxDocSize
public void setMaxDocSize(long maxDocSize)
- Parameters:
maxDocSize
- sets the estimated maximum size in bytes the device supports.
isClientConnectionSecure
public boolean isClientConnectionSecure()
- Returns:
- whether the connection from the client device to the (gateway) is secure.
setClientConnectionSecure
public void setClientConnectionSecure(boolean secure)
- Parameters:
secure
- sets whether the connection from the client device to the (gateway) is secure.
Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.