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(); }
public void refresh() { scanFolders(Settings.getInstance().getIliasFolderSettings().getLocalIliasFolderPath()); }