code: public boolean contains(String path) {
          boolean result = false;
          FileName fn = new FileName(path);
          if (fn.getPath().startsWith(getPath())) {
              result = true;
          }
          return result;
      }
docs: This will check if the given path
  is part of the path which is represented by
  this instance.
  @see {@link PathTest}
  @param path The path to check for.
  @return true if the given path is contained in false otherwise.