@Deprecated public abstract class N3streamWriter extends 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 List<N3streamWriter.Vinfo> |
vinfoList
Deprecated.
|
protected Map<Variable,N3streamWriter.Vinfo> |
vinfoMap
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
N3streamWriter(NetcdfFile ncfile)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
pad(DataOutputStream stream,
int nbytes,
byte fill)
Deprecated.
|
void |
writeHeader(DataOutputStream stream,
int numrec)
Deprecated.
Write the header to a stream.
|
protected NetcdfFile ncfile
protected Map<Variable,N3streamWriter.Vinfo> vinfoMap
protected 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(DataOutputStream stream, int numrec) throws IOException
stream - write to this stream.numrec - pass in number of record is you know it, else -1 for "streaming" format variantIOException - if write failsprotected int pad(DataOutputStream stream, int nbytes, byte fill) throws IOException
IOException