Package loci.formats.cache
Class ByteArraySource
java.lang.Object
loci.formats.cache.CacheSource
loci.formats.cache.ByteArraySource
- All Implemented Interfaces:
ICacheSource
Retrieves byte arrays from a data source
(e.g., a file) using Bio-Formats.
-
Field Summary
Fields inherited from class loci.formats.cache.CacheSource
reader -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a byte array source that draws from the given file.Constructs a byte array source from the given Bio-Formats reader. -
Method Summary
Methods inherited from class loci.formats.cache.CacheSource
getObjectCount
-
Constructor Details
-
ByteArraySource
Constructs a byte array source from the given Bio-Formats reader. -
ByteArraySource
Constructs a byte array source that draws from the given file.- Throws:
CacheException
-
-
Method Details
-
getObject
Description copied from interface:ICacheSourceGet the object corresponding to the given index.- Specified by:
getObjectin interfaceICacheSource- Specified by:
getObjectin classCacheSource- Throws:
CacheException
-