public enum FtpsMode extends java.lang.Enum<FtpsMode>
Note, that 'implicit' mode is not standardized and considered as deprecated. Some unit tests for VFS fail with 'implicit' mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache FTP/SSHD.
Modifier and Type | Method | Description |
---|---|---|
static FtpsMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FtpsMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static FtpsMode[] values()
for (FtpsMode c : FtpsMode.values()) System.out.println(c);
public static FtpsMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null