klyn.io.Path.rename
method
public native rename(newName as String) throws IOException
Description
Renames the path. The current instance path is updated when the operation succeeds.
Parameters
  • newName New filename (or directory name) within the same parent directory.