public class IntegerParserConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static IntegerParserConfig |
LENIENT |
static IntegerParserConfig |
LENIENT_F |
static IntegerParserConfig |
NULL |
static IntegerParserConfig |
STRICT |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getInvalidValue() |
Integer |
getNullValue() |
boolean |
isErrorIfInvalid() |
boolean |
isErrorIfNull() |
IntegerParserConfig |
setErrorIfInvalid(boolean errorIfInvalid) |
IntegerParserConfig |
setErrorIfNull(boolean errorIfNull) |
IntegerParserConfig |
setInvalidValue(Integer defaultInvalidValue) |
IntegerParserConfig |
setNullValue(Integer nullValue) |
public static final IntegerParserConfig STRICT
public static final IntegerParserConfig NULL
public static final IntegerParserConfig LENIENT
public static final IntegerParserConfig LENIENT_F
public boolean isErrorIfNull()
public boolean isErrorIfInvalid()
public Integer getNullValue()
public Integer getInvalidValue()
public IntegerParserConfig setErrorIfNull(boolean errorIfNull)
public IntegerParserConfig setErrorIfInvalid(boolean errorIfInvalid)
public IntegerParserConfig setNullValue(Integer nullValue)
public IntegerParserConfig setInvalidValue(Integer defaultInvalidValue)
Copyright © 2021 vpc open source initiative. All rights reserved.