BrightSide Workbench Full Report + Source Code
org.turro.attach.search.PathSet Class Reference
Inheritance diagram for org.turro.attach.search.PathSet:
Collaboration diagram for org.turro.attach.search.PathSet:

Public Member Functions

 PathSet (List< String > list, String currPath, boolean showAll)
 

Detailed Description

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

Definition at line 27 of file PathSet.java.

Constructor & Destructor Documentation

◆ PathSet()

org.turro.attach.search.PathSet.PathSet ( List< String >  list,
String  currPath,
boolean  showAll 
)

Definition at line 29 of file PathSet.java.

29  {
30 // Application app = Application.getApplication();
31  for(String a : list) {
32 // if(showAll || Strings.isEmpty(a.getShowKey()) ||
33 // app.isInRole("attach-show:all") ||
34 // app.isInRole("attach-show:" + a.getShowKey())) {
35  String folderName = a.substring(currPath.length() + 1);
36  int p = folderName.indexOf("/");
37  if(p > -1) {
38  add(folderName.substring(0, p));
39  } else {
40  add(folderName);
41  }
42 // }
43  }
44  }

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