com.github.kaisle.util.NumberUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of DotA2-Wrapper Show documentation
Show all versions of DotA2-Wrapper Show documentation
A wrapper for the DotA2 WebAPI written in Java.
package com.github.kaisle.util;
import java.util.logging.Logger;
/**
* Created by Anders Borum on 03-06-2015.
*/
public class NumberUtil {
final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(NumberUtil.class);
public static void evaluateString(String stringToBeEvaluated) {
try {
new Integer(stringToBeEvaluated);
}
catch (NumberFormatException e) {
log.info("Not a valid match id");
}
}
}