public class FTPReply
extends java.lang.Object
Constructor and Description |
---|
FTPReply(java.io.BufferedReader inputStream) |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets server reply code from the control port after an ftp command has
been executed.
|
java.lang.String |
getReplyString()
Gets server reply string from the control port after an ftp command has
been executed.
|
boolean |
isPositiveCompletion()
Determine if a reply code is a positive completion response.
|
boolean |
isPositiveIntermediate()
Determine if a reply code is a positive intermediate response.
|
boolean |
isSuccess() |
public FTPReply(java.io.BufferedReader inputStream) throws java.io.IOException
java.io.IOException
public int getCode() throws java.io.IOException
java.io.IOException
public java.lang.String getReplyString() throws java.io.IOException
java.io.IOException
public boolean isSuccess()
public boolean isPositiveCompletion()
public boolean isPositiveIntermediate()