|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.harvard.cfa.vo.tapclient.tap.Result
public class Result
A reference to a result generated by an asynchronous query.
AsyncJob
Constructor Summary | |
---|---|
protected |
Result(java.lang.String id,
java.lang.String type,
java.lang.String href)
Constructs a Result object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getHref()
Returns a String representation of the URI pointing to the result. |
java.lang.String |
getId()
Returns the identifier for this result |
java.lang.String |
getType()
Returns the type in the, XML XLink sense, of the value returned by getHref. |
int |
hashCode()
|
void |
list(java.io.PrintStream output)
|
java.io.InputStream |
openStream()
Returns an InputStream with the result resource pointed to by getHref. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Result(java.lang.String id, java.lang.String type, java.lang.String href)
id
- of the resulttype
- of the href, in the xlink sense.href
- of the resultMethod Detail |
---|
public java.lang.String getId()
public java.lang.String getType()
public java.lang.String getHref()
public java.io.InputStream openStream() throws HttpException, java.io.IOException
HttpException
- if the service responses with an unexpected HTTP status.
java.io.IOException
- if an error occurs creating the InputStreampublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void list(java.io.PrintStream output) throws HttpException, java.io.IOException
HttpException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |