Class ProfileDeferralActivator.Spi
java.lang.Object
javax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageInputStreamSpi
com.twelvemonkeys.imageio.color.ProfileDeferralActivator.Spi
- All Implemented Interfaces:
RegisterableService
- Enclosing class:
ProfileDeferralActivator
This is not a service provider, but exploits the SPI mechanism as a hook to force early profile activation.
-
Field Summary
Fields inherited from class ImageInputStreamSpi
inputClassFields inherited from class IIOServiceProvider
vendorName, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInputStreamInstance(Object input, boolean useCache, File cacheDir) getDescription(Locale locale) voidonRegistration(ServiceRegistry registry, Class<?> category) Methods inherited from class ImageInputStreamSpi
canUseCacheFile, createInputStreamInstance, getInputClass, needsCacheFileMethods inherited from class IIOServiceProvider
getVendorName, getVersion, onDeregistration
-
Constructor Details
-
Spi
public Spi()
-
-
Method Details
-
onRegistration
- Specified by:
onRegistrationin interfaceRegisterableService- Overrides:
onRegistrationin classIIOServiceProvider
-
getDescription
- Specified by:
getDescriptionin classIIOServiceProvider
-
createInputStreamInstance
- Specified by:
createInputStreamInstancein classImageInputStreamSpi
-