com.enterprisedt.net.ftp
Class Protocol

java.lang.Object
  extended by com.enterprisedt.net.ftp.Protocol

public class Protocol
extends java.lang.Object

Enumerates the FTP protocols that are available

Version:
$Revision: 1.3 $
Author:
Bruce Blackshaw

Field Summary
static Protocol FTP
          Plain FTP
static Protocol FTPS_EXPLICIT
          Explicit FTPS (FTP over SSL)
static Protocol FTPS_IMPLICIT
          Implicit FTPS (FTP over SSL).
static Protocol SFTP
          FTP over SSH
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 java.lang.String getProtocolAbbrev()
          Get the abbreviation
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          String representation of protocol
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FTP

public static Protocol FTP
Plain FTP


FTPS_EXPLICIT

public static Protocol FTPS_EXPLICIT
Explicit FTPS (FTP over SSL)


FTPS_IMPLICIT

public static Protocol FTPS_IMPLICIT
Implicit FTPS (FTP over SSL). Superceded and not recommended for general use.


SFTP

public static Protocol SFTP
FTP over SSH

Method Detail

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
String representation of protocol

Overrides:
toString in class java.lang.Object

getProtocolAbbrev

public java.lang.String getProtocolAbbrev()
Get the abbreviation

Returns:


Copyright © 2001-2006 Enterprise Distributed Technologies Ltd. All Rights Reserved.