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 voidmain2(String[] args)Deprecated.longsendData(Variable v, Section section, WritableByteChannel wbc, NcStreamCompression compress)Deprecated.longsendEnd(WritableByteChannel wbc)Deprecated.longsendHeader(WritableByteChannel wbc)Deprecated.longsendStart(WritableByteChannel wbc)Deprecated.longstreamAll(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:
IOExceptionInvalidRangeException
-
streamAll
public long streamAll(WritableByteChannel wbc) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
main2
public static void main2(String[] args) throws InvalidRangeException
Deprecated.- Throws:
InvalidRangeException
-
-