java.net
public
abstract
class
java.net.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
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
Returns the object pointed by the specified URL Connection
uConn
.
Parameters
uConn
| java.net.URLConnection the URL connection that points to the
desired object |
types
| The list of acceptable content types |
Returns
- Object The object of the resource pointed by this URL, or null if
the content does not match a specified content type.
Throws
IOException
| If an error occurred obtaining the content.
|
Returns the object pointed by the specified URL Connection
uConn
.
Parameters
uConn
| URLConnection the URL connection that points to the desired
object |
Returns
- java.lang.Object the object referred by
uConn
Throws
IOException
| thrown if an IO error occurs during the retrieval of the
object
|