Package org.globus.ftp
Class DataChannelAuthentication
- java.lang.Object
-
- org.globus.ftp.DataChannelAuthentication
-
- Direct Known Subclasses:
SubjectDataChannelAuthentication
public class DataChannelAuthentication extends java.lang.Object
Represents data channel authentication mode. Use static variables SELF or NONE.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
argument
static DataChannelAuthentication
NONE
static DataChannelAuthentication
SELF
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataChannelAuthentication()
protected
DataChannelAuthentication(java.lang.String argument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
protected void
setArgument(java.lang.String argument)
java.lang.String
toFtpCmdArgument()
-
-
-
Field Detail
-
NONE
public static final DataChannelAuthentication NONE
-
SELF
public static final DataChannelAuthentication SELF
-
argument
protected java.lang.String argument
-
-
Method Detail
-
setArgument
protected void setArgument(java.lang.String argument)
-
toFtpCmdArgument
public java.lang.String toFtpCmdArgument()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-