Interface ImageFileResource
-
- All Superinterfaces:
FileResource,Identifiable
- All Known Implementing Classes:
ImageFileResourceImpl
public interface ImageFileResource extends FileResource
An image file resource. Mimetype starts with "image/".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()URLgetIiifBaseUrl()intgetWidth()voidsetHeight(int height)voidsetIiifBaseUrl(URL iiifBaseUrl)voidsetWidth(int width)-
Methods inherited from interface de.digitalcollections.model.api.identifiable.resource.FileResource
getFilename, getFilenameExtension, getFileResourceType, getLicense, getMimeType, getSizeInBytes, getUri, isReadonly, setFilename, setFileResourceType, setLicense, setMimeType, setReadonly, setSizeInBytes, setUri
-
Methods inherited from interface de.digitalcollections.model.api.identifiable.Identifiable
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuid
-
-
-
-
Method Detail
-
getWidth
int getWidth()
- Returns:
- width in pixel
-
getIiifBaseUrl
URL getIiifBaseUrl()
- Returns:
- the iiif base url
-
getHeight
int getHeight()
- Returns:
- height in pixel
-
setWidth
void setWidth(int width)
- Parameters:
width- width in pixel
-
setIiifBaseUrl
void setIiifBaseUrl(URL iiifBaseUrl)
- Parameters:
iiifBaseUrl- the iiif base url
-
setHeight
void setHeight(int height)
- Parameters:
height- height in pixel
-
-