visad.data
Interface FormBlockReader
-
- All Known Implementing Classes:
- AVIForm, BioRadForm, BioRadForm, DeltavisionForm, FluoviewTiffForm, GatanForm, ICSForm, ImageProSeqForm, IPLabForm, IPWForm, LegacyTiffForm, LegacyZVIForm, LeicaForm, LociForm, MetamorphForm, OpenlabForm, PerkinElmerForm, PictForm, QTForm, TiffForm, ZeissForm, ZVIForm
public interface FormBlockReaderFormBlockReader is the VisAD interface for reading in subsets of data, or "blocks," from a data file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclose()Closes any open files.intgetBlockCount(java.lang.String id)Determines the number of blocks in the given file.DataImplopen(java.lang.String id, int block_number)Obtains the specified block from the given file.
-
-
-
Method Detail
-
open
DataImpl open(java.lang.String id, int block_number) throws BadFormException, java.io.IOException, VisADException
Obtains the specified block from the given file.- Parameters:
id- The file from which to load data blocks.block_number- The block number of the block to load.- Throws:
VisADException- If the block number is invalid.BadFormExceptionjava.io.IOException
-
getBlockCount
int getBlockCount(java.lang.String id) throws BadFormException, java.io.IOException, VisADExceptionDetermines the number of blocks in the given file.- Parameters:
id- The file for which to get a block count.- Throws:
BadFormExceptionjava.io.IOExceptionVisADException
-
close
void close() throws BadFormException, java.io.IOException, VisADExceptionCloses any open files.- Throws:
BadFormExceptionjava.io.IOExceptionVisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG