deleteImage

format

void deleteImage(String path) throws Exception

description

Removes the specified image from the current MediaCollection.

parameters

path - the full path and filename of the image to be removed

returns

nothing (void)

throws

deleteImage() throws an Exception if path does not exist, if it is not a file, or if it is not a valid image type. As well, if an error occurs while the file is being removed from the MediaCollection, delete() throws that EveException as a string in an Exception.