eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CharacterEncoderImplementations::PluggableTranslatingEncoder':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: PluggableTranslatingEncoder (in CharacterEncoderImplementations)


Inheritance:

   Object
   |
   +--CharacterEncoder
      |
      +--CharacterEncoderImplementations::FixedBytesEncoder
         |
         +--CharacterEncoderImplementations::SingleByteEncoder
            |
            +--CharacterEncoderImplementations::PluggableTranslatingEncoder

Package:
stx:libbasic
Category:
Collections-Text-Encodings
Version:
rev: 1.1 date: 2022/01/08 17:25:36
user: cg
file: CharacterEncoderImplementations__PluggableTranslatingEncoder.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


documentation to be added.

class:
    <a short class summary here, describing what instances represent>

responsibilities:    
    <describing what my main role is>

collaborators:    
    <describing with whom and how I talk to>

API:
    <public api and main messages>
    
example:
    <a one-line examples on how to use - can also be in a separate example method>

implementation:
    <implementation points>


[instance variables:]

[class variables:]

example

|e| e := CharacterEncoderImplementations::PluggableTranslatingEncoder new. e translate:$a to:$*. e encodeString:'aloa hawai'

Instance protocol:

encoding & decoding
o  decode: codeArg
Decode from my encoding into unicode.

o  encode: codeArg
Encode from unicode into my encoding

setup
o  translate: from to: to



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Fri, 18 Oct 2024 07:21:47 GMT