Package loci.formats

Class ImageReader

java.lang.Object
loci.formats.ImageReader
All Implemented Interfaces:
Closeable, AutoCloseable, ICompressedTileReader, IFormatHandler, IFormatReader, IMetadataConfigurable, IPyramidHandler

public class ImageReader extends Object implements IFormatReader
ImageReader is the master file format reader for all supported formats. It uses one instance of each reader subclass (specified in readers.txt, or other class list source) to identify file formats and read data.
Author:
Curtis Rueden ctrueden at wisc.edu
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • defaultClasses

      private static ClassList<IFormatReader> defaultClasses
      Default list of reader classes, for use with noargs constructor.
    • readers

      private IFormatReader[] readers
      List of supported file format readers.
    • suffixes

      private String[] suffixes
      Valid suffixes for this file format. Populated the first time getSuffixes() is called.
    • currentId

      private String currentId
      Name of current file.
    • current

      private int current
      Current form index.
    • allowOpen

      private boolean allowOpen
    • raisedException

      private static AtomicBoolean raisedException
  • Constructor Details

    • ImageReader

      public ImageReader()
      Constructs a new ImageReader with the default list of reader classes from readers.txt.
    • ImageReader

      public ImageReader(ClassList<IFormatReader> classList)
      Constructs a new ImageReader from the given list of reader classes.
  • Method Details