Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%IO] >  [IParts] >  [CharacterIO]
Private  Storage   

abstract class %IO.IParts.CharacterIO extends %IO.IParts.ByteIO, %IO.IParts.LineIO

A character stream with byte-character transcoding for its storage or transport format based on the value of ..CharEncoding. ExternalCharacterStream extends IByteStream because "RawBytes" is an option for ..CharEncoding.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2


Summary

Properties
CharEncoding LineTerminator

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
CharEncodingSet IsCharacterGet ReadLine WriteLine

Subclasses
%IO.I.CharacterStream %IO.I.TranslationDevice

Properties

• property CharEncoding as %String(TRUNCATE=1) [ InitialExpression = "Native" ];
Names the character encoding used to encode this character stream in its storage or transport format A value of "Native" in this property means the stream is encoded in the native format for the local installation. Values of "RawBytes" or "Binary" mean that each character is represented by the corresponding byte in the external storage or transport format. (This property is overridden from %IO.IParts.ByteIO but has a different meaning in this character IO context.)

Methods

• method CharEncodingSet(pCharEncoding As %String) as %Status
This is a Set accessor method for the CharEncoding property.
• method IsCharacterGet() as %Boolean
(This property is overridden from %IO.I.Stream but has a different meaning in this context of character IO.)


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.