Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.multimedia
Class ImageRequest

java.lang.Object
  |
  +--oracle.panama.multimedia.ImageRequest

public class ImageRequest
extends java.lang.Object

Constructor Summary
ImageRequest(java.lang.String url)
          Constructor

 

Method Summary
 int getDesiredImageHeight()
          Get the desired height of the adapted image
 int getDesiredImageWidth()
          Get the desired width of the adapted image
 int getDesiredSizeLimit()
          Get the desired limit on the size (in bytes) of the adapted image
 java.lang.String getInputMimeType()
          Get the mimetype of the input image (if set)
 java.lang.String getURL()
          Get the original image URL
 void setDesiredImageHeight(int height)
          Set the desired height of the adapted image
 void setDesiredImageWidth(int width)
          Set the desired width of the adapted image
 void setDesiredSizeLimit(int sizeLimit)
          Set the desired limit on the size (in bytes) of the adapted image
 void setInputMimeType(java.lang.String mimeType)
          Set the mimetype of the input image (if known)

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ImageRequest

public ImageRequest(java.lang.String url)
             throws java.net.MalformedURLException
Constructor
Parameters:
url - the "url" of the image to be adapted
Method Detail

getURL

public java.lang.String getURL()
Get the original image URL
Returns:
the URL of the image to be adapted

getDesiredImageWidth

public int getDesiredImageWidth()
Get the desired width of the adapted image
Returns:
the desired width in pixels of the adapted image

setDesiredImageWidth

public void setDesiredImageWidth(int width)
Set the desired width of the adapted image
Parameters:
width - set the desired width in pixels of the adapted image

getDesiredImageHeight

public int getDesiredImageHeight()
Get the desired height of the adapted image
Returns:
the desired height in pixels of the adapted image

setDesiredImageHeight

public void setDesiredImageHeight(int height)
Set the desired height of the adapted image
Parameters:
height - set the desired height in pixels of the adapted image

getDesiredSizeLimit

public int getDesiredSizeLimit()
Get the desired limit on the size (in bytes) of the adapted image
Returns:
the desired size limit in bytes of the adapted image

setDesiredSizeLimit

public void setDesiredSizeLimit(int sizeLimit)
Set the desired limit on the size (in bytes) of the adapted image
Parameters:
sizeLimit - the desired size limit in bytes of the adapted image

setInputMimeType

public void setInputMimeType(java.lang.String mimeType)
Set the mimetype of the input image (if known)
Parameters:
mimeType - the mimetype of the input image

getInputMimeType

public java.lang.String getInputMimeType()
Get the mimetype of the input image (if set)
Returns:
mimetype of the input image

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.