%IO.I.TranslationDevice
abstract class %IO.I.TranslationDevice extends %IO.IParts.CharacterIO
This class is intended as a secondary superclass for those Stream classes that are implemented using InterSystems IRIS devices and thus support the use of a Translation Table for character set conversion on input, on output, or both. It contains a property TranslationTable that names the translation table to be used, if any. It also implements a number of classmethods to support the use of a Translation Table. This class also extends the class ILineStream which facilitates line-by-line Read and Write operations.Property Inventory (Including Private)
Method Inventory (Including Private)
- GetCharEncodingTable()
- GetDeviceLineTerminator()
- GetDeviceTranslationTable()
- GetLocaleDefaultTable()
- GetTableCharEncoding()
- IsLocaleUnicode()
- IsTableSingleByte()
- SetCharEncodingTable()
- SetDeviceLineTerminator()
- SetDeviceTranslationTable()
- SetTranslationTable()
- TranslationTableSet()
Properties (Including Private)
property IsSingleByte as %Boolean;
Does the TranslationTable currently in effect represent a single-byte encoding.
Property methods: IsSingleByteDisplayToLogical(), IsSingleByteGet(), IsSingleByteIsValid(), IsSingleByteLogicalToDisplay(), IsSingleByteNormalize(), IsSingleByteSet()
property TranslationTable as %String;
The name of the TranslationTable in effect for the Stream's device.
Property methods: TranslationTableDisplayToLogical(), TranslationTableGet(), TranslationTableIsValid(), TranslationTableLogicalToDisplay(), TranslationTableLogicalToOdbc(), TranslationTableNormalize(), TranslationTableSet()
Methods (Including Private)
classmethod GetLocaleDefaultTable() as %String [ Language = objectscript ]
classmethod IsLocaleUnicode() as %Boolean [ Language = objectscript ]
method SetCharEncodingTable(pCharEncoding As %String, pCharEncodingAlias As %String) as %Status [ Language = objectscript ]
Set translation table based on character encoding
classmethod SetDeviceLineTerminator(pDevice As %String, pLineTerm As %String, Output pSC As %Status) [ Language = objectscript ]
Inherited Members
Inherited Properties (Including Private)
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- CharEncodingSet()
- IsCharacterGet()
- ReadLine()
- WriteLine()