}
return iatt;
}
/**读取一个属性文件,并且以{@link Map}接口的形式返回。*/
public static Map<String, String> getPropertys(final String resourcePath) throws IOException {
Properties prop = new Properties();
InputStream in = ResourcesUtils.getResourceAsStream(ResourcesUtils.formatResource(resourcePath));
if (in != null) {
prop.load(in);
}
return prop;
}