|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--zeta.tool.FTP.Response
Encompasses the FTP server's response - code and message
| Field Summary | |
private int |
code
|
private java.lang.String |
text
|
| Constructor Summary | |
FTP.Response(java.lang.String replyLine)
Constructor based on an FTP server's reply |
|
| Method Summary | |
boolean |
canContinue()
Determines if the response code is affirmative, i.e. |
int |
getCode()
Returns the replay code, i.e. the numeric presentation of reply as a number. |
java.lang.String |
getText()
Returns the reply. |
static boolean |
isValid(java.lang.String line)
Determines if the response has a correct format: The first 3 characters are digits followed by a blank. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int code
private java.lang.String text
| Constructor Detail |
public FTP.Response(java.lang.String replyLine)
throws java.io.IOException
| Method Detail |
public static boolean isValid(java.lang.String line)
line - responsepublic int getCode()
public java.lang.String getText()
public boolean canContinue()
|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||