void print(){
		System.out.println("分析 "+filename+" 源程序的结果:");
		DecimalFormat decimalFormat = new DecimalFormat("00.00");
		System.out.println(String.format("代码行数：%03d, 占%s%%", codeline, 
				decimalFormat.format((float)codeline/(float)totalline*100.0f)));
		System.out.println(String.format("注释行数：%03d, 占%s%%", commentline,
				decimalFormat.format((float)commentline/(float)totalline*100.0f)));
		System.out.println(String.format("空白行数：%03d, 占%s%%", spaceline,
				decimalFormat.format((float)spaceline/(float)totalline*100.0f)));
		System.out.println(String.format("源程序行数：%04d", totalline));
		List<Map.Entry<String, Integer>> maplist = new ArrayList<>(table.entrySet());
		Collections.sort(maplist, new Comparator<Map.Entry<String, Integer>>(){

			@Override
			public int compare(Entry<String, Integer> o1, Entry<String, Integer> o2){
				if (o1.getValue() > o2.getValue())
					return -1;
				else if (o1.getValue() < o2.getValue())
					return 1;
				else 
					return 0;
			}
			
		});
		
		System.out.println("出现最多的 5 个关键字是:");
		for (int i = 0; i < maplist.size() && i < 5; ++i){
			System.out.println(String.format("%s: %d次", maplist.get(i).getKey(), maplist.get(i).getValue()));
		}
		Date date = new Date();
		DateFormat format2 = new SimpleDateFormat("yyyy-MM-dd, HH:mm:ss");
		String reTime = format2.format(date);
		System.out.println("分析时间:" + reTime);
	}