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