Package vaultWeb.services
Class ProfilePictureService
java.lang.Object
vaultWeb.services.ProfilePictureService
Service responsible for file-system operations related to profile pictures.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProfilePictureService
public ProfilePictureService()
-
-
Method Details
-
store
public String store(org.springframework.web.multipart.MultipartFile file, Long userId) throws IOException Validates and stores an uploaded profile picture on disk.- Throws:
IOException
-
delete
Deletes a profile picture file from disk.
-