Click or drag to resize

TextRecordWriterT Class

Writes records to a stream as plain text.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.IORecordWriterT
    Ookii.Jumbo.IOStreamRecordWriterT
      Ookii.Jumbo.IOTextRecordWriterT

Namespace:  Ookii.Jumbo.IO
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public class TextRecordWriter<T> : StreamRecordWriter<T>

Type Parameters

T
The type of the records.

The TextRecordWriterT type exposes the following members.

Constructors
  NameDescription
Public methodTextRecordWriterT(Stream)
Initializes a new instance of the TextRecordWriterT class with the specified stream and a new line record separator.
Public methodTextRecordWriterT(Stream, String)
Initializes a new instance of the TextRecordWriterT class with the specified stream and record separator.
Top
Properties
  NameDescription
Public propertyBytesWritten
Gets the number of bytes that were actually written to the output.
(Inherited from StreamRecordWriterT.)
Public propertyHasFinishedWriting
Gets a value indicating whether FinishWriting method has been called.
(Inherited from RecordWriterT.)
Public propertyOutputBytes
Gets the size of the written records after serialization.
(Inherited from StreamRecordWriterT.)
Public propertyRecordsWritten
Gets the total number of records written by this record writer.
(Inherited from RecordWriterT.)
Public propertyStream
Gets the underlying stream to which this record reader is writing.
(Inherited from StreamRecordWriterT.)
Public propertyWriteTime
Gets the time spent writing.
(Inherited from RecordWriterT.)
Top
Methods
  NameDescription
Public methodDispose
Cleans up all resources held by this RecordWriter{T}.
(Inherited from RecordWriterT.)
Protected methodDispose(Boolean) (Inherited from StreamRecordWriterT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFinishWriting
Informs the record writer that no further records will be written.
(Inherited from RecordWriterT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteRecord
Writes a record.
(Inherited from RecordWriterT.)
Protected methodWriteRecordInternal
Writes the specified record to the stream.
(Overrides StreamRecordWriterTWriteRecordInternal(T).)
Public methodWriteRecords
Writes the specified sequence of records.
(Inherited from RecordWriterT.)
Top
See Also