public static void createFile(String destPath, String charset) {
		try {
			Dom4jHandler dom4jHandler = Dom4jFactory.getDom4jHandler();
			dom4jHandler.loadbyPath(PATH);

			List<Element> list = dom4jHandler.getNodes(TABLE_PATH);
			for (Element element : list) {
				String tableName = element.attributeValue("name");
				String curdir = destPath;
				if (curdir == null || "".equals(curdir.trim()))
					curdir = System.getProperty("user.dir");
				String filePath = curdir + File.separator + Utils.upperFirstChar(Utils.delUnderline(tableName)) + ".java";
				File file = new File(filePath);
				if (file.exists()) {
					System.out.println(filePath + " is exist!");
					continue;
				}
				FileOutputStream fos = null;
				try {
					fos = new FileOutputStream(file);
					fos.write(parseSingle(element).toString().getBytes(charset));
					fos.flush();
				} catch (Exception e) {
					throw e;
				} finally {
					if (fos != null)
						fos.close();
				}
				System.out.println("create " + filePath + ".java successful");
			}
			System.out.println("finish!");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}