Interface ImageManager
- 
 public interface ImageManager
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcopyImage(java.lang.String from, java.lang.String dest)voiddeleteImage(java.lang.String path)ImageRecordgetImage(java.lang.String path)java.util.List<ImageRecord>getImages(java.lang.String dir)Returns a list of images at the given folder, without their BLOB data.voidinsertImage(java.lang.String name, java.lang.String desc, ImageFormat type, java.lang.String dir, byte[] input, int width, int height, int size)voidinsertImageFolder(java.lang.String name, java.lang.String dir)Inserts a new image folder.
 
- 
- 
- 
Method Detail- 
copyImagevoid copyImage(java.lang.String from, java.lang.String dest) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
deleteImagevoid deleteImage(java.lang.String path) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
getImagesjava.util.List<ImageRecord> getImages(java.lang.String dir) Returns a list of images at the given folder, without their BLOB data.
 - 
insertImagevoid insertImage(java.lang.String name, java.lang.String desc, ImageFormat type, java.lang.String dir, byte[] input, int width, int height, int size) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
getImageImageRecord getImage(java.lang.String path) 
 - 
insertImageFoldervoid insertImageFolder(java.lang.String name, java.lang.String dir) throws java.sql.SQLExceptionInserts a new image folder.- Parameters:
- name- The name of the folder (not a path)
- dir- The path of the parent folder, or- nullfor the root folder.
- Throws:
- java.sql.SQLException
 
 
- 
 
-