Class ImageReaders
java.lang.Object
de.xima.fc.utils.ImageReaders
Helper to get an instance of a certain image reader implementation.
- Since:
- 8.5.4
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHolds SPI information of already known (and used) image readers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageReaderCreates an image reader instance by utilizing its service provider interface.
-
Constructor Details
-
ImageReaders
public ImageReaders()
-
-
Method Details
-
bySpi
Creates an image reader instance by utilizing its service provider interface.- Parameters:
spiClassName- the classname of the service provider interface (that's what can be found in the related service provider configuration file '/META-INF/services/javax.imageio.spi.ImageReaderSpi')- Returns:
- the desired image reader instance (null if none could be found)
-