docs: public boolean accept(File pDir, String pName) {
          WildcardStringParser parser;
  
          // Check each filename string mask whether the file is to be accepted
          if (inclusion) {  // Inclusion
              for (String mask : filenameMasksForInclusion) {
                  parser = new WildcardStringParser(mask);
                  if (parser.parseString(pName)) {
  
                      // The filename was accepted by the filename masks provided
                      // - include it in filename list
                      return true;
                  }
              }
  
              // The filename not was accepted by any of the filename masks
              // provided - NOT to be included in the filename list
              return false;
          }
          else {
              // Exclusion
              for (String mask : filenameMasksForExclusion) {
                  parser = new WildcardStringParser(mask);
                  if (parser.parseString(pName)) {
  
                      // The filename was accepted by the filename masks provided
                      // - NOT to be included in the filename list
                      return false;
                  }
              }
  
              // The filename was not accepted by any of the filename masks
              // provided - include it in filename list
              return true;
          }
      }