Package com.enterprisedt.net.ftp
Class Protocol
java.lang.Object
com.enterprisedt.net.ftp.Protocol
Enumerates the FTP protocols that are available
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.static ProtocolgetProtocol(String abbrev) Get the protocol from the abbreviationGet the abbreviationstatic StringinthashCode()Returns a hash code value for the object.toString()String representation of protocol
-
Field Details
-
FTP
Plain FTP -
FTPS_EXPLICIT
Explicit FTPS (FTP over SSL) -
FTPS_IMPLICIT
Implicit FTPS (FTP over SSL). Superceded and not recommended for general use. -
SFTP
FTP over SSH -
SCP
SCP over SSH
-
-
Method Details
-
equals
Indicates whether some other object is "equal to" this one. -
hashCode
public int hashCode()Returns a hash code value for the object. -
toString
String representation of protocol -
getProtocolAbbrev
Get the abbreviation- Returns:
-
getProtocol
Get the protocol from the abbreviation- Parameters:
abbrev- string abbreviation of protocol- Returns:
- Protocol
-
getProtocols
-