|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.udp.UdpResponse
public class UdpResponse
A response from the server.
Method Summary | |
---|---|
UdpResponseEntry |
getEntryAt(int index)
Returns the entry on the given index. |
int |
getEntryCount()
Returns the count of the entries. |
java.lang.String |
getMessageString()
Returns the entries as an message string. |
int |
getReturnCode()
Returns the return code. |
java.lang.String |
getReturnString()
Returns the return string. |
java.lang.String |
getTrimedMessageString()
Returns the entries as an message string as one line wihout line feeds. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getReturnCode()
public java.lang.String getReturnString()
public int getEntryCount()
public UdpResponseEntry getEntryAt(int index)
index
- The index.
java.lang.IndexOutOfBoundsException
- If the index is out of bounds.public java.lang.String getMessageString()
null
, if this response hasn't
any entries.public java.lang.String getTrimedMessageString()
null
, if this response hasn't
any entries.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 |