- Timestamp:
- Mar 27, 2011, 1:03:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/ImageService.java
r9879 r9893 3 3 import java.io.File; 4 4 import java.io.IOException; 5 import java.security.NoSuchAlgorithmException; 5 6 import java.util.List; 6 7 7 8 import fr.mael.jiwigo.dao.ImageDao; 8 9 import fr.mael.jiwigo.om.Image; 10 import fr.mael.jiwigo.transverse.exception.FileAlreadyExistsException; 9 11 import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException; 12 import fr.mael.jiwigo.transverse.exception.WrongChunkSizeException; 10 13 import fr.mael.jiwigo.transverse.session.SessionManager; 11 14 import fr.mael.jiwigo.transverse.util.ImagesUtil; … … 80 83 * @param originalHeight height for the original image 81 84 * @return true if the image is created 85 * @throws IOException 86 * @throws WrongChunkSizeException 87 * @throws ProxyAuthenticationException 88 * @throws FileAlreadyExistsException 89 * @throws NoSuchAlgorithmException 82 90 * @throws Exception 83 91 */ 84 92 public boolean create(String filePath, Integer idCategory, Integer originalWidth, Integer originalHeight, 85 Double chunckSize, Integer privacyLevel) throws Exception { 93 Double chunckSize, Integer privacyLevel) throws IOException, NoSuchAlgorithmException, 94 FileAlreadyExistsException, ProxyAuthenticationException, WrongChunkSizeException { 86 95 File originalFile = new File(filePath); 87 96 //get the byte array of the original file, to keep metadata
Note: See TracChangeset
for help on using the changeset viewer.