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
CacheExceptionpublic int getObjectCount()
ICacheSourcegetObjectCount in interface ICacheSourcepublic abstract Object getObject(int index) throws CacheException
ICacheSourcegetObject in interface ICacheSourceCacheExceptionCopyright © 2015 Open Microscopy Environment