public enum FtpletResult extends Enum<FtpletResult>
Enum Constant and Description |
---|
DEFAULT
This return value indicates that the next ftplet method will be called.
|
DISCONNECT
It indicates that the server will skip and disconnect the client.
|
NO_FTPLET
This return value indicates that the other ftplet methods will not be
called but the ftpserver will continue processing this request.
|
SKIP
It indicates that the ftpserver will skip everything.
|
Modifier and Type | Method and Description |
---|---|
static FtpletResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpletResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpletResult DEFAULT
public static final FtpletResult NO_FTPLET
public static final FtpletResult SKIP
public static final FtpletResult DISCONNECT
public static FtpletResult[] values()
for (FtpletResult c : FtpletResult.values()) System.out.println(c);
public static FtpletResult 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 nullCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.