public class N3channelWriter extends N3streamWriter
N3streamWriter.Vinfodebug, debugPos, debugWriteData, filePos, ncfile, recSize, recStart, usePadding, vinfoList, vinfoMap| Constructor and Description |
|---|
N3channelWriter(NetcdfFile ncfile) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeDataAll(WritableByteChannel channel) |
static void |
writeFromFile(NetcdfFile fileIn,
String fileOutName) |
static void |
writeToChannel(NetcdfFile ncfile,
WritableByteChannel wbc)
Write ncfile to a WritableByteChannel.
|
pad, writeHeaderpublic N3channelWriter(NetcdfFile ncfile)
public void writeDataAll(WritableByteChannel channel) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic static void writeFromFile(NetcdfFile fileIn, String fileOutName) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic static void writeToChannel(NetcdfFile ncfile, WritableByteChannel wbc) throws IOException, InvalidRangeException
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()IOException - on IO errorInvalidRangeException - range errorCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.