code: public synchronized boolean renameTo( Resource dest)
          throws SecurityException
      {
          if (_resource.renameTo(dest))
          {
              clear();
              return true;
          }
          return false;
      }
docs: Rename the given resource