コード例 #1
0
 public String suggestDownloadPath(IliasFile iliasFile) {
   final List<IliasTreeNode> siblings = iliasFile.getParentFolder().getChildNodes();
   for (IliasTreeNode node : siblings) {
     if (node instanceof IliasFile) {
       final String result = getContainingFolder((IliasFile) node);
       if (result != null) {
         return result;
       }
     }
   }
   return Settings.getInstance().getIliasFolderSettings().getLocalIliasFolderPath();
 }
コード例 #2
0
 public void refresh() {
   scanFolders(Settings.getInstance().getIliasFolderSettings().getLocalIliasFolderPath());
 }