Interface ImageManager
public interface ImageManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteImage
(String path) Returns a list of images at the given folder, without their BLOB data.void
insertImage
(String name, String desc, ImageFormat type, String dir, byte[] input, int width, int height, int size) void
insertImageFolder
(String name, String dir) Inserts a new image folder.
-
Method Details
-
copyImage
- Throws:
Exception
-
deleteImage
- Throws:
Exception
-
getImages
Returns a list of images at the given folder, without their BLOB data. -
insertImage
void insertImage(String name, String desc, ImageFormat type, String dir, byte[] input, int width, int height, int size) throws SQLException - Throws:
SQLException
-
getImage
-
insertImageFolder
Inserts a new image folder.- Parameters:
name
- The name of the folder (not a path)dir
- The path of the parent folder, ornull
for the root folder.- Throws:
SQLException
-