code: public void setAttribute(File file, String attribute, Object value, boolean create) {
      String view = getViewName(attribute);
      String attr = getSingleAttribute(attribute);
      setAttributeInternal(file, view, attr, value, create);
    }
docs: Sets the value of the given attribute to the given value for the given file.