public static boolean isInteger(String cmdLineArg) {
        if(cmdLineArg == null || cmdLineArg.isEmpty()) {
            return false;
        }
        
        boolean result;
        try {
            Integer.parseInt(cmdLineArg);
            result = true;
        } catch(NumberFormatException e) {
            result = false;
        }
        return result;
    }