public static boolean isNumeric(String str) {
try {
Integer.valueOf(str);
return true;
}catch (NumberFormatException e1){ return false; }
}
public static boolean isNumeric(String str) {
try {
Integer.valueOf(str);
return true;
}catch (NumberFormatException e1){ return false; }
}