Class FileServiceImpl
java.lang.Object
org.springframework.content.commons.utils.FileServiceImpl
- All Implemented Interfaces:
FileService
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileServiceImpl
public FileServiceImpl()
-
-
Method Details
-
mkdirs
- Specified by:
mkdirsin interfaceFileService- Throws:
IOException
-
rmdirs
Description copied from interface:FileServiceRemoves directories. Starting at the leaf offromand working upwards removes directories if, and only if, empty untiltois reached.- Specified by:
rmdirsin interfaceFileService- Parameters:
from- the directory path to be removedto- the sub-directory to preserve. Maybe null- Throws:
IOException- when the directories cannot be removed
-
rmdirs
Description copied from interface:FileServiceRemoves directories. Starting at the leaf offromand working upwards removes directories if, and only if, empty.- Specified by:
rmdirsin interfaceFileService- Parameters:
from- the directory path to be removed- Throws:
IOException- when the directories cannot be removed
-