code: public DirectoryScanner setBasedir(String basedir) {
          setBasedir(basedir == null ? null
              : new File(basedir.replace('/', File.separatorChar).replace(
              '\\', File.separatorChar)));
          return this;
      }
docs: Set the base directory to be scanned. This is the directory which is
  scanned recursively. All '/' and '\' characters are replaced by
  <code>File.separatorChar</code>, so the separator used need not match
  <code>File.separatorChar</code>.
  
  @param basedir The base directory to scan.