public class TextUtilities
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
parseInt(java.lang.String value,
int defaultValue)
Parses the given string and returns the parsed integer value or the given default if
the parsing failed.
|
public static int parseInt(java.lang.String value, int defaultValue)
value
- the to be parsed stringdefaultValue
- the default value