ucar.nc2.stream
Class NcStreamWriter
java.lang.Object
ucar.nc2.stream.NcStreamWriter
public class NcStreamWriter
- extends Object
Write a NetcdfFile to a WritableByteChannel using ncstream protocol
- Since:
- Feb 7, 2009
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NcStreamWriter
public NcStreamWriter(NetcdfFile ncfile,
String location)
throws IOException
- Throws:
IOException
sendStart
public long sendStart(WritableByteChannel wbc)
throws IOException
- Throws:
IOException
sendEnd
public long sendEnd(WritableByteChannel wbc)
throws IOException
- Throws:
IOException
sendHeader
public long sendHeader(WritableByteChannel wbc)
throws IOException
- Throws:
IOException
sendData
public long sendData(Variable v,
Section section,
WritableByteChannel wbc)
throws IOException,
InvalidRangeException
- Throws:
IOException
InvalidRangeException
streamAll
public long streamAll(WritableByteChannel wbc)
throws IOException,
InvalidRangeException
- Throws:
IOException
InvalidRangeException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.