aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/ImagesService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-08 21:38:27 +0300
committerGravatar Vitaly Takmazov2018-11-08 21:38:27 +0300
commit7aaa3f9a29c280f01c677c918932620be45cdbd7 (patch)
tree39947b2c889afd08f9c73ba54fab91159d2af258 /juick-common/src/main/java/com/juick/service/ImagesService.java
parent3ea9770d0d43fbe45449ac4531ec4b0a374d98ea (diff)
Merge everything into single Spring Boot application
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/ImagesService.java')
-rw-r--r--juick-common/src/main/java/com/juick/service/ImagesService.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/juick-common/src/main/java/com/juick/service/ImagesService.java b/juick-common/src/main/java/com/juick/service/ImagesService.java
deleted file mode 100644
index 902301ed..00000000
--- a/juick-common/src/main/java/com/juick/service/ImagesService.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.juick.service;
-
-import com.juick.Message;
-
-import java.io.IOException;
-
-public interface ImagesService {
- void setAttachmentMetadata(String baseUrl, Message msg) throws Exception;
- /**
- * Move attached image from temp folder to image folder.
- * Create preview images in corresponding folders.
- *
- * @param tempFilename Name of the image file in the temp folder.
- * @param outputFilename Name that will be used in the image folder.
- */
- void saveImageWithPreviews(String tempFilename, String outputFilename) throws IOException;
- /**
- * Save new avatar in all required sizes.
- *
- * @param tempFilename Name of the image file in the temp folder.
- * @param uid User id that is used to build image file names.
- */
- void saveAvatar(String tempFilename, int uid) throws IOException;
-}