18 package org.turro.zul.portal;
21 import java.io.FileFilter;
22 import java.util.HashMap;
23 import org.amic.util.file.FileUtil;
24 import org.turro.auth.Authentication;
25 import org.turro.elephant.context.ElephantContext;
26 import org.turro.plugin.contacts.IContact;
39 for(File f : root.listFiles(
new FileFilter() {
41 public boolean accept(File pathname) {
42 return pathname.isFile() && !pathname.isHidden() &&
43 pathname.getName().endsWith(
".portal");
53 private File getUserContainer(File f) {
54 File userFile =
new File(
55 FileUtil.getParentPath(f.getAbsolutePath()) +
56 "/" + contact.
getId() +
"/" +
static IContact getIContact()
static String getRealPath(String path)
void setFiles(File userFile, File confFile)