示例#1
0
 public void saveProperties() {
   ResourceController.getResourceController()
       .setProperty(LAST_OPENED, ConfigurationUtils.encodeListValue(lastOpenedList, true));
 }
示例#2
0
 private void restoreList(final String key, final List<String> list) {
   final String restored = ResourceController.getResourceController().getProperty(key, null);
   if (restored != null && !restored.equals("")) {
     list.addAll(ConfigurationUtils.decodeListValue(restored, true));
   }
 }