private static boolean isNumber(String str) {
if (str.length() == 26) {
Pattern pattern = Pattern.compile("[0-9]*");
Matcher matcher = pattern.matcher(str);
if (matcher.matches()) {
return true;
}
}
return false;
}
private static boolean isNumber(String str) {
if (str.length() == 26) {
Pattern pattern = Pattern.compile("[0-9]*");
Matcher matcher = pattern.matcher(str);
if (matcher.matches()) {
return true;
}
}
return false;
}