|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sharpster.common.ResponseCollection
A general collection of responses which is used by modules in the local client and in the daemon. A ResponseCollection can contain serveral Response objects of different types.
Constructor Summary | |
ResponseCollection()
Constructor |
Method Summary | |
void |
addResponse(sharpster.common.Response response)
Adds a new Response object to the collection. |
void |
appendCollection(sharpster.common.ResponseCollection collection)
Appends a ResponseCollection to this collection. |
sharpster.common.Response |
getResponse(int index)
Returns a specified response. |
int |
getResponseCount()
Returns the number of Response objects in the collection. |
boolean |
hasError()
Returns true if this response colletion contains responses that has error. |
java.lang.String |
toString()
Prints the file collection to a readable string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResponseCollection()
Method Detail |
public boolean hasError()
public int getResponseCount()
public void addResponse(sharpster.common.Response response)
public void appendCollection(sharpster.common.ResponseCollection collection)
public sharpster.common.Response getResponse(int index)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |