BrightSide Workbench Full Report + Source Code
org.turro.wd.files.DirectorySet Class Reference
Inheritance diagram for org.turro.wd.files.DirectorySet:
Collaboration diagram for org.turro.wd.files.DirectorySet:

Public Member Functions

boolean containsDir (String dir)
 
Directory getDir (String dir)
 

Detailed Description

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

Definition at line 26 of file DirectorySet.java.

Member Function Documentation

◆ containsDir()

boolean org.turro.wd.files.DirectorySet.containsDir ( String  dir)

Definition at line 28 of file DirectorySet.java.

28  {
29  return getDir(dir) != null;
30  }
Directory getDir(String dir)
Here is the call graph for this function:

◆ getDir()

Directory org.turro.wd.files.DirectorySet.getDir ( String  dir)

Definition at line 32 of file DirectorySet.java.

32  {
33  for(Directory d : this) {
34  if(d.getName().equals(dir)) {
35  return d;
36  }
37  }
38  for(Directory d : this) {
39  if(d.getSystemName().equals(dir)) {
40  return d;
41  }
42  }
43  return null;
44  }
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: