public abstract class CacheSource extends 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(String id)
Constructs a cache source that draws from the given file.
|
Modifier and Type | Method and Description |
---|---|
abstract 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(String id) throws CacheException
CacheException
public int getObjectCount()
ICacheSource
getObjectCount
in interface ICacheSource
public abstract Object getObject(int index) throws CacheException
ICacheSource
getObject
in interface ICacheSource
CacheException
Copyright © 2015 Open Microscopy Environment