Class CacheSource

java.lang.Object
loci.formats.cache.CacheSource
All Implemented Interfaces:
ICacheSource
Direct Known Subclasses:
ByteArraySource

public abstract class CacheSource extends Object implements ICacheSource
Superclass of cache sources that retrieve image planes from a data source (e.g., a file) using Bio-Formats.
  • Field Details

    • reader

      protected IFormatReader reader
      Reader from which to draw image planes.
  • Constructor Details

    • CacheSource

      public CacheSource(IFormatReader r)
      Constructs a cache source from the given Bio-Formats reader.
    • CacheSource

      public CacheSource(String id) throws CacheException
      Constructs a cache source that draws from the given file.
      Throws:
      CacheException
  • Method Details