public static enum FieldSupport.Underflow extends Enum<FieldSupport.Underflow> implements FieldOption
Enum Constant and Description |
---|
ERROR
Error on Underflow
|
IGNORE
Ignore Underflow
|
Modifier and Type | Method and Description |
---|---|
protected void |
check(byte[] b,
int len)
Check the underflow of the field
|
static FieldSupport.Underflow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldSupport.Underflow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldSupport.Underflow ERROR
public static final FieldSupport.Underflow IGNORE
public static FieldSupport.Underflow[] values()
for (FieldSupport.Underflow c : FieldSupport.Underflow.values()) System.out.println(c);
public static FieldSupport.Underflow 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 nullprotected void check(byte[] b, int len)
b
- valuelen
- field lengthCopyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.