@SuppressWarnings({ "rawtypes", "unchecked" })
	public static final Map<String, String> readProperties(String pathname, boolean inClassPath) {
		InputStream inputStream = null;
		try {
			inputStream = new FileInputStream(getFile(pathname, inClassPath));
			Properties prop = new Properties();
			prop.load(inputStream);
			Map m = prop;
			return m;
		} catch (FileNotFoundException fe) {
			return null; // 如果文件不存在，则返回null
		} catch (IOException e) {
			throw new IllegalArgumentException(e);
		} finally {
			if (inputStream != null) {
				try {
					inputStream.close();
				} catch (IOException e) {
					// ignore exception
				}
			}
		}
	}