Package de.xima.fc.utils
Class ImageReaders
- java.lang.Object
-
- de.xima.fc.utils.ImageReaders
-
public class ImageReaders extends Object
Helper to get an instance of a certain image reader implementation.- Since:
- 8.5.4
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageReaders.WellKnownHolds SPI information of already known (and used) image readers.
-
Constructor Summary
Constructors Constructor Description ImageReaders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImageReaderbySpi(String spiClassName)Creates an image reader instance by utilizing its service provider interface.
-
-
-
Method Detail
-
bySpi
public static ImageReader bySpi(String spiClassName)
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)
-
-