Changeset 10494 for extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/impl/ImageServiceImpl.java
- Timestamp:
- Apr 19, 2011, 3:36:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/impl/ImageServiceImpl.java
r9919 r10494 90 90 //the methode Outil.enrich will fail, but the procedure has to continue 91 91 try { 92 byte[] fichierEnrichi = Tools.enrich(bytesFichierOriginal, Tools.getBytesFromFile(new File(System 93 .getProperty("java.io.tmpdir") 94 + "/originale.jpg"))); 92 byte[] fichierEnrichi = Tools.enrich(bytesFichierOriginal, 93 Tools.getBytesFromFile(new File(System.getProperty("java.io.tmpdir") + "/originale.jpg"))); 95 94 Tools.byteToFile(System.getProperty("java.io.tmpdir") + "/originale.jpg", fichierEnrichi); 96 95 } catch (Exception e) { … … 145 144 } 146 145 146 public void addSimple(File file, Integer category, String title) throws IOException { 147 dao.addSimple(file, category, title); 148 149 } 150 147 151 public ImageDao getDao() { 148 152 return dao;
Note: See TracChangeset
for help on using the changeset viewer.