Package ucar.nc2.iosp.netcdf3
Class N3channelWriter
- java.lang.Object
-
- ucar.nc2.iosp.netcdf3.N3streamWriter
-
- ucar.nc2.iosp.netcdf3.N3channelWriter
-
@Deprecated public class N3channelWriter extends N3streamWriter
Deprecated.do not useExperimental
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.nc2.iosp.netcdf3.N3streamWriter
N3streamWriter.Vinfo
-
-
Field Summary
-
Fields inherited from class ucar.nc2.iosp.netcdf3.N3streamWriter
debug, debugPos, debugWriteData, filePos, ncfile, recSize, recStart, usePadding, vinfoList, vinfoMap
-
-
Constructor Summary
Constructors Constructor Description N3channelWriter(NetcdfFile ncfile)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
writeDataAll(WritableByteChannel channel)
Deprecated.static void
writeFromFile(NetcdfFile fileIn, String fileOutName)
Deprecated.static void
writeToChannel(NetcdfFile ncfile, WritableByteChannel wbc)
Deprecated.Write ncfile to a WritableByteChannel.-
Methods inherited from class ucar.nc2.iosp.netcdf3.N3streamWriter
pad, writeHeader
-
-
-
-
Constructor Detail
-
N3channelWriter
public N3channelWriter(NetcdfFile ncfile)
Deprecated.
-
-
Method Detail
-
writeDataAll
public void writeDataAll(WritableByteChannel channel) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOException
InvalidRangeException
-
writeFromFile
public static void writeFromFile(NetcdfFile fileIn, String fileOutName) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOException
InvalidRangeException
-
writeToChannel
public static void writeToChannel(NetcdfFile ncfile, WritableByteChannel wbc) throws IOException, InvalidRangeException
Deprecated.Write ncfile to a WritableByteChannel.- Parameters:
ncfile
- the file to writewbc
- write to this WritableByteChannel. If its a Socket, must have been opened through a call to java.nio.channels.SocketChannel.open()- Throws:
IOException
- on IO errorInvalidRangeException
- range error
-
-