Interface RewritableStorage
- All Superinterfaces:
Storage
This interface is for Storage entities that allow the overwriting and
deletion of Images and SummaryMetadata, as per RewritableDatastore.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteImage(Coords coords) Delete an image from the Storage.Methods inherited from interface Storage
close, freeze, getAnyImage, getAxes, getImage, getImagesIgnoringAxes, getImagesMatching, getMaxIndex, getMaxIndices, getNumImages, getSummaryMetadata, getUnorderedImageCoords, hasImage, putImage
-
Method Details
-
deleteImage
Delete an image from the Storage. Posts an ImageDeletedEvent to the event bus. Throws an IllegalArgumentException if the provided coordinates do not correspond to any image in the Storage.- Parameters:
coords- Coordinates of the image to remove.- Throws:
IllegalArgumentException- if the coords do not match any image.
-