public static String readContent(String filePath) throws Exception {
		File file = new File(filePath);
		if (file.exists()) {
			StringBuffer sb = new StringBuffer();
			InputStream in = new FileInputStream(file);
			InputStreamReader inReader = new InputStreamReader(in,"UTF-8");
			BufferedReader beReader = new BufferedReader(inReader);
			String line = null;
			while ((line = beReader.readLine()) != null) {
				sb.append(line);
			}
			beReader.close();
			inReader.close();
			in.close();
			return sb.toString();
		} else {		
			throw new IOException("读取文件出错:目标文件不存在,路径：" + file.getAbsolutePath());
		}
	}