Interface FileService
- All Known Implementing Classes:
FileServiceImpl
public interface FileService
-
Method Summary
-
Method Details
-
mkdirs
- Throws:
IOException
-
rmdirs
Removes directories. Starting at the leaf offrom
and working upwards removes directories if, and only if, empty untilto
is reached.- Parameters:
from
- the directory path to be removedto
- the sub-directory to preserve. Maybe null- Throws:
IOException
- when the directories cannot be removed
-
rmdirs
Removes directories. Starting at the leaf offrom
and working upwards removes directories if, and only if, empty.- Parameters:
from
- the directory path to be removed- Throws:
IOException
- when the directories cannot be removed
-