StringBuilder sb = new StringBuilder();
while( (line = reader.readLine()) != null ) {
sb.append(line);
}
// Tree情報を設定し保存する
IStampTreeModel tm = new StampTreeModel();
tm.setUser(Project.getUserModel());
tm.setName(ClientContext.getString("stampTree.personal.box.name"));
tm.setDescription(ClientContext.getString("stampTree.personal.box.tooltip"));
FacilityModel facility = Project.getUserModel().getFacilityModel();
tm.setPartyName(facility.getFacilityName());
String url = facility.getUrl();
if (url != null) {
tm.setUrl(url);
}
tm.setTreeXml(sb.toString());
in.close();
reader.close();
// リストの先頭へ追加する
treeList.add(0, tm);
}