Package loci.formats

Class ImageWriter

java.lang.Object
loci.formats.ImageWriter
All Implemented Interfaces:
Closeable, AutoCloseable, ICompressedTileWriter, IFormatHandler, IFormatWriter, IMetadataConfigurable, IPyramidHandler

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • defaultClasses

      private static ClassList<IFormatWriter> defaultClasses
      Default list of writer classes, for use with noargs constructor.
    • writers

      protected IFormatWriter[] writers
      List of supported file format writers.
    • suffixes

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

      protected String currentId
      Name of current file.
    • current

      protected int current
      Current form index.
  • Constructor Details

    • ImageWriter

      public ImageWriter()
      Constructs a new ImageWriter with the default list of writer classes from writers.txt.
    • ImageWriter

      public ImageWriter(ClassList<IFormatWriter> classList)
      Constructs a new ImageWriter from the given list of writer classes.
  • Method Details