BrightSide Workbench Full Report + Source Code
org.turro.zkoss.text.RepositoryFilter Class Reference
Inheritance diagram for org.turro.zkoss.text.RepositoryFilter:
Collaboration diagram for org.turro.zkoss.text.RepositoryFilter:

Public Member Functions

 RepositoryFilter (String path)
 
boolean accept (File pathname)
 

Detailed Description

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

Definition at line 29 of file RepositoryFilter.java.

Constructor & Destructor Documentation

◆ RepositoryFilter()

org.turro.zkoss.text.RepositoryFilter.RepositoryFilter ( String  path)

Definition at line 33 of file RepositoryFilter.java.

33  {
34  this.path = path;
35  }

Member Function Documentation

◆ accept()

boolean org.turro.zkoss.text.RepositoryFilter.accept ( File  pathname)

Definition at line 38 of file RepositoryFilter.java.

38  {
39  return pathname.isDirectory() && (Strings.isBlank(path) || new File(pathname, path).exists());
40  }

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