public interface FileService
| Modifier and Type | Method and Description |
|---|---|
void |
mkdirs(File file) |
void |
rmdirs(File from)
Removes directories.
|
void |
rmdirs(File from,
File to)
Removes directories.
|
void mkdirs(File file) throws IOException
IOExceptionvoid rmdirs(File from, File to) throws IOException
from and working upwards removes directories if, and only if, empty
until to is reached.from - the directory path to be removedto - the sub-directory to preserve. Maybe nullIOExceptionvoid rmdirs(File from) throws IOException
from and working upwards removes directories if, and only if, empty.from - the directory path to be removedIOExceptionCopyright © 2020 Paul Warren. All rights reserved.