java try to parse a string to integer

https://‮ttual.www‬uri.com
java try to parse a string to integer
public static boolean isStringParsable(String input) {
    try {
        Integer.parseInt(input);
        return true;
    } catch (final NumberFormatException e) {
        return false;
    }
}
Created Time:2017-09-10 09:58:16  Author:lautturi