package com.randomCode;

//import java.util.Scanner;


public class CodeTest {

	public CodeTest() {
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		int type = Integer.parseInt(args[0]);
		int length = Integer.parseInt(args[1]);
		int nums = Integer.parseInt(args[2]);
//		System.out.println("ѡͣ1дĸ2֣3дĸֻ");
//		Scanner scanner = new Scanner(System.in);
//		int type = scanner.nextInt();
//		int length = scanner.nextInt();
//		int nums = scanner.nextInt();
//		scanner.close();
		String typesString = null;
		switch (type) {
		case 1:
			typesString = "character";
			break;
		case 2:
			typesString = "numeric";
			break;
		case 3:
			typesString = "mixture";
			break;
		default:
			break;
		}
		RandomCodeUtil util = new RandomCodeUtil();
		util.saveCode(util.generate(typesString, length,nums));
	}

}

@@ -372,217 +372,8 @@
 %5D);%0A
-//%09%09System.out.println(%22%D1%A1%CD%A31%D0%B4%C4%B82%D6%A33%D0%B4%C4%B8%D6%BB%22);%0A//%09%09Scanner scanner = new Scanner(System.in);%0A//%09%09int type = scanner.nextInt();%0A//%09%09int length = scanner.nextInt();%0A//%09%09int nums = scanner.nextInt();%0A//%09%09scanner.close();
 %0A%09%09S

delete comments