public abstract class CacheSource extends java.lang.Object implements ICacheSource
Modifier and Type | Field and Description |
---|---|
protected IFormatReader |
reader
Reader from which to draw image planes.
|
Constructor and Description |
---|
CacheSource(IFormatReader r)
Constructs a cache source from the given Bio-Formats reader.
|
CacheSource(java.lang.String id)
Constructs a cache source that draws from the given file.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
getObject(int index)
Get the object corresponding to the given index.
|
int |
getObjectCount()
Get the total number of objects that this source can retrieve.
|
protected IFormatReader reader
public CacheSource(IFormatReader r)
public CacheSource(java.lang.String id) throws CacheException
CacheException
public int getObjectCount()
ICacheSource
getObjectCount
in interface ICacheSource
public abstract java.lang.Object getObject(int index) throws CacheException
ICacheSource
getObject
in interface ICacheSource
CacheException
Copyright © 2023 Open Microscopy Environment