|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FieldSupport.Overflow>
org.apache.commons.flatfile.FieldSupport.Overflow
public static enum FieldSupport.Overflow
Overflow behavior enumerated type.
| Enum Constant Summary | |
|---|---|
ERROR
Error on overflow |
|
IGNORE
Ignore overflow (same as TRUNCATE) |
|
TRUNCATE
Truncate on overflow (same as IGNORE) |
|
| Method Summary | |
|---|---|
protected void |
check(byte[] b,
int len)
Check the overflow of the field |
static FieldSupport.Overflow |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldSupport.Overflow[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FieldSupport.Overflow ERROR
public static final FieldSupport.Overflow TRUNCATE
public static final FieldSupport.Overflow IGNORE
| Method Detail |
|---|
public static final FieldSupport.Overflow[] values()
for(FieldSupport.Overflow c : FieldSupport.Overflow.values())
System.out.println(c);
public static FieldSupport.Overflow valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
protected void check(byte[] b,
int len)
b - valuelen - field length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||