ucar.nc2.iosp.netcdf3
Class N3streamWriter
java.lang.Object
ucar.nc2.iosp.netcdf3.N3streamWriter
- Direct Known Subclasses:
- N3channelWriter, N3outputStreamWriter
public abstract class N3streamWriter
- extends java.lang.Object
- Author:
- john
|
Method Summary |
protected int |
pad(java.io.DataOutputStream stream,
int nbytes,
byte fill)
|
void |
writeHeader(java.io.DataOutputStream stream)
Write the header to a stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ncfile
protected NetcdfFile ncfile
vinfoMap
protected java.util.Map<Variable,N3streamWriter.Vinfo> vinfoMap
vinfoList
protected java.util.List<N3streamWriter.Vinfo> vinfoList
debug
protected boolean debug
debugPos
protected boolean debugPos
debugWriteData
protected boolean debugWriteData
recStart
protected int recStart
recSize
protected int recSize
filePos
protected long filePos
N3streamWriter
protected N3streamWriter(NetcdfFile ncfile)
writeHeader
public void writeHeader(java.io.DataOutputStream stream)
throws java.io.IOException
- Write the header to a stream.
- Parameters:
stream - write to this stream.
- Throws:
java.io.IOException - if write fails
pad
protected int pad(java.io.DataOutputStream stream,
int nbytes,
byte fill)
throws java.io.IOException
- Throws:
java.io.IOException