Class GenericModelWriter
public class GenericModelWriter : AbstractModelWriter, IDisposable
- Inheritance
-
GenericModelWriter
- Implements
- Inherited Members
Constructors
GenericModelWriter(AbstractModel, FileInfo)
public GenericModelWriter(AbstractModel model, FileInfo file)
Parameters
modelAbstractModelfileFileInfo
GenericModelWriter(AbstractModel, Stream)
public GenericModelWriter(AbstractModel model, Stream dos)
Parameters
modelAbstractModeldosStream
Methods
CloseCore()
Performs the actual close. Called at most once.
protected override void CloseCore()
Exceptions
- IOException
if there is an error during writing
Persist()
public override void Persist()
Exceptions
- IOException
if there is an error during writing
WriteDouble(double)
public override void WriteDouble(double d)
Parameters
ddouble
Exceptions
- IOException
if there is an error during writing
WriteInt32(int)
public override void WriteInt32(int i)
Parameters
iint
Exceptions
- IOException
if there is an error during writing
WriteUTF(string)
public override void WriteUTF(string s)
Parameters
sstring
Exceptions
- IOException
if there is an error during writing