public static boolean isInteger(String str) {
        return !(str == null || str.length() == 0) && INT_PATTERN.matcher(str).matches();
    }
@author Robert HG (254963746@qq.com) on 7/24/14.
lts-core/src/main/java/com/github/ltsopensource/core/commons/utils/StringUtils.java