public class Protocol
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
static Protocol |
getProtocol(java.lang.String abbrev)
Get the protocol from the abbreviation
|
java.lang.String |
getProtocolAbbrev()
Get the abbreviation
|
static java.lang.String |
getProtocols() |
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
String representation of protocol
|
public static Protocol FTP
public static Protocol FTPS_EXPLICIT
public static Protocol FTPS_IMPLICIT
public static Protocol SFTP
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getProtocolAbbrev()
public static Protocol getProtocol(java.lang.String abbrev)
abbrev
- string abbreviation of protocolpublic static java.lang.String getProtocols()
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.