BrightSide Workbench Full Report + Source Code
org.turro.zul.portal.PortalWindows Class Reference
Inheritance diagram for org.turro.zul.portal.PortalWindows:
Collaboration diagram for org.turro.zul.portal.PortalWindows:

Public Member Functions

void loadContainers ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file PortalWindows.java.

Member Function Documentation

◆ loadContainers()

void org.turro.zul.portal.PortalWindows.loadContainers ( )

Definition at line 36 of file PortalWindows.java.

36  {
37  File root = new File(ElephantContext.getRealPath("/WEB-INF/portal"));
38  if(root.exists()) {
39  for(File f : root.listFiles(new FileFilter() {
40  @Override
41  public boolean accept(File pathname) {
42  return pathname.isFile() && !pathname.isHidden() &&
43  pathname.getName().endsWith(".portal");
44  }
45  })) {
46  PortalContainer pc = new PortalContainer();
47  pc.setFiles(getUserContainer(f), f);
48  put(FileUtil.getBaseName(f), pc);
49  }
50  }
51  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: