Package ucar.nc2.stream
Class NcStreamWriterChannel
- java.lang.Object
-
- ucar.nc2.stream.NcStreamWriterChannel
-
@Deprecated public class NcStreamWriterChannel extends Object
Deprecated.do not useWrite a NetcdfFile to a WritableByteChannel using ncstream protocol. Experimental, checking performance vs OutputStream- Since:
- 7/10/12
-
-
Constructor Summary
Constructors Constructor Description NcStreamWriterChannel(NetcdfFile ncfile, String location)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
main2(String[] args)
Deprecated.long
sendData(Variable v, Section section, WritableByteChannel wbc, NcStreamCompression compress)
Deprecated.long
sendEnd(WritableByteChannel wbc)
Deprecated.long
sendHeader(WritableByteChannel wbc)
Deprecated.long
sendStart(WritableByteChannel wbc)
Deprecated.long
streamAll(WritableByteChannel wbc)
Deprecated.
-
-
-
Constructor Detail
-
NcStreamWriterChannel
public NcStreamWriterChannel(NetcdfFile ncfile, String location) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
sendStart
public long sendStart(WritableByteChannel wbc) throws IOException
Deprecated.- Throws:
IOException
-
sendEnd
public long sendEnd(WritableByteChannel wbc) throws IOException
Deprecated.- Throws:
IOException
-
sendHeader
public long sendHeader(WritableByteChannel wbc) throws IOException
Deprecated.- Throws:
IOException
-
sendData
public long sendData(Variable v, Section section, WritableByteChannel wbc, NcStreamCompression compress) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOException
InvalidRangeException
-
streamAll
public long streamAll(WritableByteChannel wbc) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOException
InvalidRangeException
-
main2
public static void main2(String[] args) throws InvalidRangeException
Deprecated.- Throws:
InvalidRangeException
-
-