code: public void setInputDir(final URI dir) {
          assert dir.isAbsolute();
          setProperty(INPUT_DIR_URI, dir.toString());
          // Deprecated since 2.2
          if (dir.getScheme().equals("file")) {
              setProperty(INPUT_DIR, new File(dir).getAbsolutePath());
          }
      }
docs: Set input directory
  @param dir absolute input directory path