public class NcStreamIosp extends AbstractIOServiceProvider
| Modifier and Type | Class and Description |
|---|---|
class |
NcStreamIosp.NcsMess |
location, ncfile, raf, rafOrder| Constructor and Description |
|---|
NcStreamIosp() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(RandomAccessFile raf,
Group.Builder rootGroup,
CancelTask cancelTask)
Read an existing RandomAccessFile, and populate rootGroup.
|
String |
getFileTypeDescription()
Get a human-readable description for this file type.
|
String |
getFileTypeId()
Get a unique id for this file type.
|
int |
getVersion() |
boolean |
isValidFile(RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
void |
openDebugNew(RandomAccessFile raf,
Group.Builder rootBuilder,
List<NcStreamIosp.NcsMess> messages) |
Array |
readData(Variable v,
Section section) |
buildFinish, close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureDataArrayIterator, getStructureIterator, open, reacquire, readArrayData, readSection, readToOutputStream, release, sendIospMessage, setNetcdfFile, toStringDebugpublic boolean isValidFile(RandomAccessFile raf) throws IOException
IOServiceProviderraf - RandomAccessFileIOException - if read errorpublic String getFileTypeId()
IOServiceProviderpublic String getFileTypeDescription()
IOServiceProviderpublic int getVersion()
public void build(RandomAccessFile raf, Group.Builder rootGroup, CancelTask cancelTask) throws IOException
IOServiceProviderraf - the file to work on, it has already passed the isValidFile() test.rootGroup - add objects to the root group.cancelTask - used to monitor user cancellation; may be null.IOException - if read errorpublic Array readData(Variable v, Section section) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic void openDebugNew(RandomAccessFile raf, Group.Builder rootBuilder, List<NcStreamIosp.NcsMess> messages) throws IOException
IOException