public static enum FtpSessionFactoryProperties.ClientMode extends Enum<FtpSessionFactoryProperties.ClientMode>
Enum Constant and Description |
---|
ACTIVE
Active client mode.
|
PASSIVE
Passive client mode.
|
Modifier and Type | Method and Description |
---|---|
int |
getMode() |
static FtpSessionFactoryProperties.ClientMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpSessionFactoryProperties.ClientMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpSessionFactoryProperties.ClientMode ACTIVE
public static final FtpSessionFactoryProperties.ClientMode PASSIVE
public static FtpSessionFactoryProperties.ClientMode[] values()
for (FtpSessionFactoryProperties.ClientMode c : FtpSessionFactoryProperties.ClientMode.values()) System.out.println(c);
public static FtpSessionFactoryProperties.ClientMode 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 int getMode()
Copyright © 2022. All rights reserved.