public ArgsParser(String[] args) {
        for (int i = 2; i < args.length; i++) {
            switch (args[i]) {
                case "-v":
                    isNeedTime = true;
                    break;
                case "-w":
                    isNeedNumberWords = true;
                    break;
                case "-c":
                    isNeedNumberChars = true;
                    break;
                case "-e":
                    isNeedSentences = true;
                    break;
                default:
                    throw new IllegalArgumentException();
            }
        }
    }