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
  • Constructor Details

    • ImageReaders

      public ImageReaders()
  • Method Details

    • 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)