|
OSGi™ Service Platform Release 3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A UPnP icon representation. Each UPnP device can contain zero or more icons.
Method Summary | |
int |
getDepth()
Returns the color depth of the icon in bits. |
int |
getHeight()
Returns the height of the icon in pixels. |
java.io.InputStream |
getInputStream()
Returns an InputStream object for the icon data. |
java.lang.String |
getMimeType()
Returns the MIME type of the icon. |
int |
getSize()
Returns the size of the icon in bytes. |
int |
getWidth()
Returns the width of the icon in pixels. |
Method Detail |
public java.lang.String getMimeType()
The format of the returned string is in accordance to RFC2046. A list of valid MIME types is maintained by the IANA at ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types.
Typical values returned include: "image/jpeg" or "image/gif"
public int getWidth()
public int getHeight()
public int getSize()
public int getDepth()
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
getMimeType()
|
OSGi™ Service Platform Release 3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |