| java.lang.Object java.net.ContentHandler
ContentHandler | abstract public class ContentHandler (Code) | | 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
See Also: ContentHandlerFactory See Also: URL See Also: URLConnection.getContent |
getContent | abstract public Object getContent(URLConnection uConn) throws IOException(Code) | | Answers the object pointed by the specified URL Connection
uConn .
java.lang.Object the object referred by uConn Parameters: uConn - URLConnection the URL connection that points to the desiredobject throws: IOException - thrown if an IO error occurs during the retrieval of theobject |
getContent | public Object getContent(URLConnection uConn, Class[] types) throws IOException(Code) | | Answers the object pointed by the specified URL Connection
uConn .
Parameters: uConn - java.net.URLConnection the URL connection that points to thedesired object Parameters: types - The list of acceptable content types Object The object of the resource pointed by this URL, or null ifthe content does not match a specified content type. throws: IOException - If an error occurred obtaining the content. |
|
|