|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.net.ContentHandler
Untamed:
| Constructor Summary | |
ContentHandler()
Enabled: |
|
| Method Summary | |
abstract Object |
getContent(URLConnection urlc)
Enabled: Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it. |
Object |
getContent(URLConnection urlc,
Class[] classes)
Enabled: Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContentHandler()
| Method Detail |
public abstract Object getContent(URLConnection urlc)
throws IOException
urlc - a URL connection.
ContentHandler.
IOException
public Object getContent(URLConnection urlc,
Class[] classes)
throws IOException
urlc - a URL connection.classes - an array of types requested
ContentHandler that is
the first match of the suggested types.
null if none of the requested are supported.
IOException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||