EnsLib.RecordMap.Service.FileServiceStream
hidden class EnsLib.RecordMap.Service.FileServiceStream extends %IO.MetaCharacterStream
For InterSystems internal use only, subject to change without notice.Specializes class MetaCharacterStream to buffer reads without ever calling upon the underlying stream's ReadLine() method.
Class RecordMap parses a file by mixing calls to both ReadLine() and Read(), which streams in the IO package seem to implement by switching the buffering mode of the underlying device, first closing and then reopening it again in the new mode - with implications for performance.
This class reimplements the relevant methods by buffering the data itself in a string property, filling the buffer as needed by calling Read() only.
Method Inventory
Parameters
Methods
Inherited Members
Inherited Properties
- AtEnd
- CharEncoding
- DefaultFlushOnWrite
- ExternalBytePosition
- ExternalByteSize
- IsCharacter
- IsOpen
- LineTerminator
- Name
- Position
- Size
- StreamIn
- StreamsCopyInput
- StreamsOutput
- WriteToStreamIn
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- BindCopyInput()
- BindCopyInputArray()
- BindInput()
- BindOutput()
- BindOutputArray()
- CharEncodingSet()
- Clear()
- Close()
- CopyFrom()
- CopyReplace()
- CopyReplaceArray()
- DefaultFlushOnWriteGet()
- ExternalByteSeek()
- ExternalByteSizeGet()
- ExternalByteTruncateAt()
- Find()
- Flush()
- FlushCopyInput()
- InputFromDevice()
- IsCharacterGet()
- IsOpenGet()
- LineTerminatorSet()
- OutputToDevice()
- ReadUntil()
- ReadUntilArray()
- Reset()
- Rewind()
- Seek()
- SizeGet()
- TruncateAt()
- Write()
- WriteLine()