deleteFile

open override fun deleteFile(name: String)

Removes an existing file in the directory.

This method must throw either NoSuchFileException or FileNotFoundException if name points to a non-existing file.

Parameters

name

the name of an existing file.

Throws

IOException

in case of I/O error