code: public String constructName() {
          String result = name;
          if(dir != null) {
              result = dir + "/" + result;
          }
          if(extension != null) {
              result = result + "." + extension;
          }
          return result;
      }
docs: Constructs name from dir and extension (if available), used in SitemapGenerators
  @return Name