@Deprecated
public abstract class N3streamWriter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
N3streamWriter.Vinfo
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
debug
Deprecated.
|
protected boolean |
debugPos
Deprecated.
|
protected boolean |
debugWriteData
Deprecated.
|
protected long |
filePos
Deprecated.
|
protected NetcdfFile |
ncfile
Deprecated.
|
protected int |
recSize
Deprecated.
|
protected int |
recStart
Deprecated.
|
protected boolean |
usePadding
Deprecated.
|
protected java.util.List<N3streamWriter.Vinfo> |
vinfoList
Deprecated.
|
protected java.util.Map<Variable,N3streamWriter.Vinfo> |
vinfoMap
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
N3streamWriter(NetcdfFile ncfile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected int |
pad(java.io.DataOutputStream stream,
int nbytes,
byte fill)
Deprecated.
|
void |
writeHeader(java.io.DataOutputStream stream,
int numrec)
Deprecated.
Write the header to a stream.
|
protected NetcdfFile ncfile
protected java.util.Map<Variable,N3streamWriter.Vinfo> vinfoMap
protected java.util.List<N3streamWriter.Vinfo> vinfoList
protected boolean debug
protected boolean debugPos
protected boolean debugWriteData
protected int recStart
protected int recSize
protected boolean usePadding
protected long filePos
protected N3streamWriter(NetcdfFile ncfile)
public void writeHeader(java.io.DataOutputStream stream, int numrec) throws java.io.IOException
stream
- write to this stream.numrec
- pass in number of record is you know it, else -1 for "streaming" format variantjava.io.IOException
- if write failsprotected int pad(java.io.DataOutputStream stream, int nbytes, byte fill) throws java.io.IOException
java.io.IOException