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 classN3streamWriter.VinfoDeprecated.
-
Field Summary
Fields Modifier and Type Field Description protected booleandebugDeprecated.protected booleandebugPosDeprecated.protected booleandebugWriteDataDeprecated.protected longfilePosDeprecated.protected NetcdfFilencfileDeprecated.protected intrecSizeDeprecated.protected intrecStartDeprecated.protected booleanusePaddingDeprecated.protected List<N3streamWriter.Vinfo>vinfoListDeprecated.protected Map<Variable,N3streamWriter.Vinfo>vinfoMapDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedN3streamWriter(NetcdfFile ncfile)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected intpad(DataOutputStream stream, int nbytes, byte fill)Deprecated.voidwriteHeader(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
-
-