Package ucar.nc2.iosp.netcdf3
Class N3streamWriter
- java.lang.Object
-
- ucar.nc2.iosp.netcdf3.N3streamWriter
-
- Direct Known Subclasses:
N3channelWriter
,N3outputStreamWriter
@Deprecated public abstract class N3streamWriter extends Object
Deprecated.do not useCommon superclass for N3outputStreamWriter and N3channelStreamWriter. Experimental
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
N3streamWriter.Vinfo
Deprecated.
-
Field Summary
Fields Modifier and Type Field 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.
-
Constructor Summary
Constructors Modifier Constructor Description protected
N3streamWriter(NetcdfFile ncfile)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected int
pad(DataOutputStream stream, int nbytes, byte fill)
Deprecated.void
writeHeader(DataOutputStream stream, int numrec)
Deprecated.Write the header to a stream.
-
-
-
Field Detail
-
ncfile
protected NetcdfFile ncfile
Deprecated.
-
vinfoMap
protected Map<Variable,N3streamWriter.Vinfo> vinfoMap
Deprecated.
-
vinfoList
protected List<N3streamWriter.Vinfo> vinfoList
Deprecated.
-
debug
protected boolean debug
Deprecated.
-
debugPos
protected boolean debugPos
Deprecated.
-
debugWriteData
protected boolean debugWriteData
Deprecated.
-
recStart
protected int recStart
Deprecated.
-
recSize
protected int recSize
Deprecated.
-
usePadding
protected boolean usePadding
Deprecated.
-
filePos
protected long filePos
Deprecated.
-
-
Constructor Detail
-
N3streamWriter
protected N3streamWriter(NetcdfFile ncfile)
Deprecated.
-
-
Method Detail
-
writeHeader
public void writeHeader(DataOutputStream stream, int numrec) throws IOException
Deprecated.Write the header to a stream.- Parameters:
stream
- write to this stream.numrec
- pass in number of record is you know it, else -1 for "streaming" format variant- Throws:
IOException
- if write fails
-
pad
protected int pad(DataOutputStream stream, int nbytes, byte fill) throws IOException
Deprecated.- Throws:
IOException
-
-