获取resources目录下stencilset.json文件信息
如同标题,把stencilset.json放到resources目录下
InputStream stencilsetStream = this.getClass().getClassLoader().getResourceAsStream("stencilset.json");
try {
return IOUtils.toString(stencilsetStream);
} catch (Exception e) {
throw new ActivitiException("Error while loading stencil set", e);
}