public enum TransferProtocol extends Enum<TransferProtocol>
| Enum Constant and Description |
|---|
FTP
File Transfer Protocol type
|
FTPS
File Transfer Protocol over SSL type
|
HTTP
Hypertext Transfer Protocol type
|
HTTPS
Hypertext Transfer Protocol over SSL type
|
SFTP
SSH File Transfer Protocol type
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
static TransferProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferProtocol FTP
public static final TransferProtocol FTPS
public static final TransferProtocol HTTP
public static final TransferProtocol HTTPS
public static final TransferProtocol SFTP
public static TransferProtocol[] values()
for (TransferProtocol c : TransferProtocol.values()) System.out.println(c);
public static TransferProtocol valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getDefaultPort()
Copyright © 2017 Axway Software. All rights reserved.