klyn.io.Path.remove
method
public native remove() throws IOException
Description

Removes the file or empty folder.

Removing a non-empty directory raises IOException.

Throws
  • IOException if the resource is closed, inaccessible, not a valid file, or the underlying I/O operation fails.