public interface FormBlockReader
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes any open files.
|
int |
getBlockCount(java.lang.String id)
Determines the number of blocks in the given file.
|
DataImpl |
open(java.lang.String id,
int block_number)
Obtains the specified block from the given file.
|
DataImpl open(java.lang.String id, int block_number) throws BadFormException, java.io.IOException, VisADException
id - The file from which to load data blocks.block_number - The block number of the block to load.VisADException - If the block number is invalid.BadFormExceptionjava.io.IOExceptionint getBlockCount(java.lang.String id)
throws BadFormException,
java.io.IOException,
VisADException
id - The file for which to get a block count.BadFormExceptionjava.io.IOExceptionVisADExceptionvoid close()
throws BadFormException,
java.io.IOException,
VisADException
BadFormExceptionjava.io.IOExceptionVisADException