|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.java.net.ContentHandler
public abstract class ContentHandler
This class converts the content of a certain format into a Java type Object. It is implemented differently for each
content type in each platform. It is created by ContentHandlerFactory
ContentHandlerFactory,
URL,
URLConnection.getContent()| Constructor Summary | |
|---|---|
ContentHandler()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
getContent(URLConnection uConn)
Answers the object pointed by the specified URL Connection uConn. |
java.lang.Object |
getContent(URLConnection uConn,
java.lang.Class[] types)
Answers the object pointed by the specified URL Connection uConn. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentHandler()
| Method Detail |
|---|
public abstract java.lang.Object getContent(URLConnection uConn)
throws java.io.IOException
uConn.
uConn - URLConnection the URL connection that points to the desired object
uConn
java.io.IOException - thrown if an IO error occurs during the retrieval of the object
public java.lang.Object getContent(URLConnection uConn,
java.lang.Class[] types)
throws java.io.IOException
uConn.
uConn - java.net.URLConnection the URL connection that points to the desired objecttypes - The list of acceptable content types
java.io.IOException - If an error occurred obtaining the content.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||