public static enum XYModem.OverrunOption extends Enum<XYModem.OverrunOption>
| Enum Constant and Description |
|---|
ACCEPT
Accept all extra data in file.
|
ERROR
If downloaded file ends on the expected packet, length will be enforced as in OverrunOption.IGNORE.
|
IGNORE
Ignore the extra data, and limit the file to the declared size.
|
MIXED
Default setting.
|
| Modifier and Type | Method and Description |
|---|---|
static XYModem.OverrunOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XYModem.OverrunOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XYModem.OverrunOption IGNORE
public static final XYModem.OverrunOption ERROR
public static final XYModem.OverrunOption ACCEPT
public static final XYModem.OverrunOption MIXED
public static XYModem.OverrunOption[] values()
for (XYModem.OverrunOption c : XYModem.OverrunOption.values()) System.out.println(c);
public static XYModem.OverrunOption 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 © 2019. All rights reserved.