@SuppressWarnings("unchecked")
	public static void load(List<LinkMan> linkMans, String fileName, boolean currenFileClock) {
		File file = new File(fileName);
		if(!file.exists()){
			linkMans.clear();
			return ;
		}
		SAXReader reader = new SAXReader();
		Document doc = null;
		try {
			doc = reader.read(file);
		} catch (DocumentException e) {
		}
		
		Element linkManList = doc.getRootElement();
		if(linkManList.attributeValue("pass")!=null)
		{
			currenFileClock = true;
			String pass = JOptionPane.showInputDialog(null,
					"请输入密码" ,
					"打开加密文件",JOptionPane.QUESTION_MESSAGE
					);
			if(pass == null)
				return;
			if(!pass.equals(linkManList.attributeValue("pass"))){
				JOptionPane.showMessageDialog(null, "密码错误", "错误提示", JOptionPane.ERROR_MESSAGE);
				return;
			}
			
		}
		else
			currenFileClock = false;
		
		Iterator<Element> iter = linkManList.elementIterator();
		
		linkMans.clear();
		while(iter.hasNext()){
			Element linkMan = iter.next();
			LinkMan newLinkMan = new LinkMan(linkMan.elementText("name"),
					linkMan.elementText("mobilePhone"), linkMan.elementText("address"),
					linkMan.elementText("email"), Integer.parseInt(linkMan.elementText("ground"))) ;
			linkMans.add(newLinkMan);
		}
	}