Class Index | File Index

Classes


Class ilib.CaseMapper

Create a new string mapper instance that maps strings to upper or lower case. This mapping will work for any string as characters that have no case will be returned unchanged.

The options may contain any of the following properties:

Depends directive: !depends casemapper.js
Defined in: ilib-dyn-full.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ilib.CaseMapper(options)
Method Summary
Method Attributes Method Name and Description
 
Return the locale that this mapper was constructed with.
 
map(string)
Map a string to lower case in a locale-sensitive manner.
Class Detail
ilib.CaseMapper(options)
Parameters:
{Object=} options
options to initialize this mapper
Method Detail
{ilib.Locale} getLocale()
Return the locale that this mapper was constructed with.
Returns:
{ilib.Locale} the locale that this mapper was constructed with

{string|undefined} map(string)
Map a string to lower case in a locale-sensitive manner.
Parameters:
{string|undefined} string
Returns:
{string|undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 02 2016 16:00:49 GMT-0800 (PST)