code: public void updatePath(String path) {
          if (!path.contains(".") && !path.endsWith("/"))
              path += '/';
          this.path = path(path);
      }
docs: To be characterised as a path, the <code>path</code> has to end with a slash /
  @param path