|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.utils.IntegerUtils
public final class IntegerUtils
IntegerUtils
| Method Summary | |
|---|---|
static int |
convert(String strToParse)
Convert a given String into an integer. |
static int |
convert(String strToParse,
int nDefault)
Convert a given String into an integer. |
static boolean |
isDefault(int nNumber)
Check if the given number is equal to DEFAULT |
static boolean |
isNotNumeric(String strToCheck)
Check if the given String is not numerical |
static boolean |
isNumeric(String strToCheck)
Check if the given String is numeric |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int convert(String strToParse)
DEFAULT.
strToParse - the String to convert
public static int convert(String strToParse,
int nDefault)
strToParse - the String to parsenDefault - the default value in case the conversion fails
public static boolean isNumeric(String strToCheck)
strToCheck - the String to check
public static boolean isNotNumeric(String strToCheck)
strToCheck - the String to check
public static boolean isDefault(int nNumber)
DEFAULT
nNumber - the number to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||