Package org.mycore.iview2.iiif
Class MCRIVIEWIIIFImageImpl
java.lang.Object
org.mycore.iiif.image.impl.MCRIIIFImageImpl
org.mycore.iview2.iiif.MCRIVIEWIIIFImageImpl
- Direct Known Subclasses:
MCRThumbnailImageImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final double
static final String
protected final MCRTileFileProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkPermission
(String identifier, MCRTileInfo tileInfo) protected MCRTileInfo
createTileInfo
(String identifier) getInformation
(String identifier) provide
(String identifier, MCRIIIFImageSourceRegion region, MCRIIIFImageTargetSize targetSize, MCRIIIFImageTargetRotation rotation, MCRIIIFImageQuality imageQuality, String format) Methods inherited from class org.mycore.iiif.image.impl.MCRIIIFImageImpl
getConfigPrefix, getImplName, getInstance, getProperties
-
Field Details
-
DEFAULT_PROTOCOL
- See Also:
-
LOG_HALF
public static final double LOG_HALF -
SUPPORTED_FORMATS
-
MAX_BYTES_PROPERTY
- See Also:
-
tileFileProvider
-
-
Constructor Details
-
MCRIVIEWIIIFImageImpl
-
-
Method Details
-
provide
public BufferedImage provide(String identifier, MCRIIIFImageSourceRegion region, MCRIIIFImageTargetSize targetSize, MCRIIIFImageTargetRotation rotation, MCRIIIFImageQuality imageQuality, String format) throws MCRIIIFImageNotFoundException, MCRIIIFImageProvidingException, MCRIIIFUnsupportedFormatException, MCRAccessException - Specified by:
provide
in classMCRIIIFImageImpl
- Throws:
MCRIIIFImageNotFoundException
MCRIIIFImageProvidingException
MCRIIIFUnsupportedFormatException
MCRAccessException
-
getInformation
public MCRIIIFImageInformation getInformation(String identifier) throws MCRIIIFImageNotFoundException, MCRIIIFImageProvidingException, MCRAccessException - Specified by:
getInformation
in classMCRIIIFImageImpl
- Throws:
MCRIIIFImageNotFoundException
MCRIIIFImageProvidingException
MCRAccessException
-
getProfile
- Specified by:
getProfile
in classMCRIIIFImageImpl
-
createTileInfo
- Throws:
MCRIIIFImageNotFoundException
-
checkPermission
-