Package org.mycore.iview2.services
Class MCRTilingAction
java.lang.Object
org.mycore.iview2.services.MCRTilingAction
- All Implemented Interfaces:
Runnable
A slave thread of
MCRImageTiler
This class can be extended. Any extending class should provide and implementation for getMCRImage()
.
To get the extending class invoked, one need to define a MyCoRe property, which defaults to:
MCR.Module-iview2.MCRTilingActionImpl=org.mycore.iview2.services.MCRTilingAction
- Author:
- Thomas Scheffler (yagee)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.mycore.imagetiler.MCRImage
void
run()
takes aMCRTileJob
and tiles the referencedMCRImage
instance.toString()
-
Field Details
-
tileJob
-
-
Constructor Details
-
MCRTilingAction
-
-
Method Details
-
run
public void run()takes aMCRTileJob
and tiles the referencedMCRImage
instance. Also this updates tileJob properties ofMCRTileJob
in the database. -
getMCRImage
- Returns:
- MCRImage instance based on the information provided by
tileJob
- Throws:
IOException
- thrown byMCRImage.getInstance(Path, String, String)
-
toString
-