Back: I18N.LocaleConventions-accessing Up: Iconv/I18N packages Forward: I18N.LocaleData class-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

5.23 I18N.LocaleData

Defined in namespace I18N
Superclass: Object
Category: i18n-Messages
I am an abstract superclass of objects that represent localization information.

5.23.1 I18N.LocaleData class: accessing  (class)
5.23.2 I18N.LocaleData class: database  (class)
5.23.3 I18N.LocaleData: accessing  (instance)
5.23.4 I18N.LocaleData: initialization  (instance)


5.23.1 I18N.LocaleData class: accessing

category
Answer `nil'.

default
This method's functionality should be implemented by subclasses of LocaleData

flush
Flush the contents of the instances of each subclass of LocaleData.

fromString: lang
This method's functionality should be implemented by subclasses of LocaleData

language: lang
Answer the local object for the given language.

language: lang territory: territory
Answer the local object for the given language and territory.

language: lang territory: territory charset: charset
Answer the local object for the given language, territory and charset.

new
This method should not be called for instances of this class.

posix
This method's functionality should be implemented by subclasses of LocaleData

update: aspect
Flush instances of the receiver when an image is loaded.


5.23.2 I18N.LocaleData class: database

defaultCharset
Answer the default charset used when nothing is specified.

defaultCharset: aString
Set the default charset used when nothing is specified.

defaults
Answer the default territory-language and language-charset associations.

initialize
Initialize the receiver's class variables.

languages
ISO639 language codes

territories
ISO3166 territory codes


5.23.3 I18N.LocaleData: accessing

charset
Return the charset supported by the receiver.

id
Return the identifier of the locale supported by the receiver.

isPosixLocale
Answer whether the receiver implements the default POSIX behavior for a locale.

language
Return the language supported by the receiver.

languageDirectory
Answer the directory where data files for the current language reside.

languageDirectory: rootDirectory
Answer the directory where data files for the current language reside, given the root directory of the locale data.

territory
Return the territory supported by the receiver.

territoryDirectory
Answer the directory where data files for the current language, specific to the territory, reside.

territoryDirectory: rootDirectory
Answer the directory where data files for the current language, specific to the territory, reside, given the root directory of the locale data.


5.23.4 I18N.LocaleData: initialization

id: anArray
Private - Set which locale the receiver contains data for

initialize: aString
Set which locale the receiver contains data for, starting from a string describing the locale.



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


This document was generated on July, 23 2009 using texi2html