java.lang.Object
com.flexstor.common.io.xfile.ftp.FtpResponse
- public class FtpResponse
- extends java.lang.Object
m_message
private java.lang.String m_message
m_returnCode
private java.lang.String m_returnCode
REPLY_POSITIVE_PRELIMINARY
public static final char REPLY_POSITIVE_PRELIMINARY
- See Also:
- Constant Field Values
REPLY_POSITIVE_COMPLETION
public static final char REPLY_POSITIVE_COMPLETION
- See Also:
- Constant Field Values
REPLY_POSITIVE_INTERMEDIARY
public static final char REPLY_POSITIVE_INTERMEDIARY
- See Also:
- Constant Field Values
REPLY_TRANSIENT_NEGATIVE_COMPLETION
public static final char REPLY_TRANSIENT_NEGATIVE_COMPLETION
- See Also:
- Constant Field Values
REPLY_PERMANENT_NEGATIVE_COMPLETION
public static final char REPLY_PERMANENT_NEGATIVE_COMPLETION
- See Also:
- Constant Field Values
REGARDING_SYNTAX
public static final char REGARDING_SYNTAX
- See Also:
- Constant Field Values
REGARDING_INFORMATION
public static final char REGARDING_INFORMATION
- See Also:
- Constant Field Values
REGARDING_CONNECTION
public static final char REGARDING_CONNECTION
- See Also:
- Constant Field Values
REGARDING_AUTHENTICATION
public static final char REGARDING_AUTHENTICATION
- See Also:
- Constant Field Values
REGARDING_UNSPECIFIED
public static final char REGARDING_UNSPECIFIED
- See Also:
- Constant Field Values
REGARDING_FILE_SYSTEM
public static final char REGARDING_FILE_SYSTEM
- See Also:
- Constant Field Values
FtpResponse
FtpResponse(java.io.BufferedReader in)
throws java.io.IOException
getMessage
public java.lang.String getMessage()
getReturnCode
public java.lang.String getReturnCode()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
isPositivePreliminary
public boolean isPositivePreliminary()
isPositiveCompletion
public boolean isPositiveCompletion()
isPositiveIntermediary
public boolean isPositiveIntermediary()
isTransientNegativeCompletion
public boolean isTransientNegativeCompletion()
isPermanentNegativeCompletion
public boolean isPermanentNegativeCompletion()
isRegardingSyntax
public boolean isRegardingSyntax()
isRegardingInformation
public boolean isRegardingInformation()
isRegardingConnection
public boolean isRegardingConnection()
isRegardingAuthentication
public boolean isRegardingAuthentication()
isRegardingFileSystem
public boolean isRegardingFileSystem()
likelyToSucceed
public boolean likelyToSucceed()
likelyToFail
public boolean likelyToFail()
setMessage
private void setMessage(java.io.BufferedReader in)
throws java.io.IOException