Back: I18N.EncodedString-printing Up: Iconv/I18N packages Forward: I18N.EncodedStringFactory class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

5.4 I18N.EncodedStringFactory

Defined in namespace I18N
Superclass: Object
Category: i18n-Character sets
An EncodedStringFactory is used (in place of class objects) so that Encoders can return EncodedString objects with the correct encoding.

5.4.1 I18N.EncodedStringFactory class: instance creation  (class)
5.4.2 I18N.EncodedStringFactory: accessing  (instance)
5.4.3 I18N.EncodedStringFactory: instance creation  (instance)


5.4.1 I18N.EncodedStringFactory class: instance creation

encoding: aString
Answer a new EncodedStringFactory, creating strings with the given encoding.


5.4.2 I18N.EncodedStringFactory: accessing

isUnicode
Answer false; the receiver stores bytes (i.e. an encoded form), not characters.


5.4.3 I18N.EncodedStringFactory: instance creation

encoding
Answer the encoding used for the created Strings.

encoding: aString
Set the encoding used for the created Strings.

fromString: aString
Answer an EncodedString based on aString and in the encoding represented by the receiver.

new
Answer a new, empty EncodedString using the encoding represented by the receiver.

new: size
Answer a new EncodedString of the given size, using the encoding represented by the receiver.



Back: I18N.EncodedStringFactory-accessing Up: I18N.EncodedStringFactory Forward: I18N.Encoder   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html