The objects of this class contain the data points for tables of type XLT, COL, Case and the input side of Mode tables. More...
Public Attributes | |
Description | |
Description of the SubTable. More... | |
FromTo | |
Each node of this array contains one mapping. More... | |
Name | |
The name of a sub-table contains 3 parts separated by "-": More... | |
Type | |
Type of sub-table. More... | |
The objects of this class contain the data points for tables of type XLT, COL, Case and the input side of Mode tables.
The name of a sub-table is a string with three pieces separated by "-": type-from-to
Warning!
Only sub-tables whose names have a "from" or "to" piece beginning with "y" (e.g. "XLT-yEBCDIC-Unicode" or "XLT-Latin1-yPrinter") or that end with a dot followed by 4 digits (e.g. "XLT-CP1250-Unicode.0001") are considered custom sub-tables and are preserved during system upgrades. All other sub-tables are restored to their original state and any changes to them made with methods from this class will be lost in an upgrade.
|
static |
Creates a SubTable the NLS database.
Parameters:
|
static |
Creates a SubTable with common default parameters.
Doesn't require passing a complete subtable specification. Sets each character mapping to itself.
Parameters:
|
static |
Deletes a SubTable.
Parameters:
|
static |
Checks for the existence of a SubTable in the NLS database.
Parameters:
Return values:
If Value of the method = 0 (SubTable does not exist, or some error occured)
If Value of the method = 1 (SubTable exists)
|
static |
|
static |
Exports all SubTable records to ^nls.
Parameters:
|
static |
|
static |
|
static |
Exports ONE SubTable record to ^nls.
Parameters:
|
static |
|
static |
Imports SubTable records from an xml file.
Parameters:
|
static |
Imports all SubTable records from ^nls.
Parameters:
|
static |
Imports subtable files from a directory.
Parameters:
|
static |
Imports SubTable record from ^nls.
Parameters:
|
static |
Modifies an existing SubTable's properties in the NLS database.
Parameters:
Description |
Description of the SubTable.
FromTo |
Each node of this array contains one mapping.
Both the index
and the value of the node can be either a single character code (e.g. "168") or a comma-separated list of codes (e.g. "251,128,65"). For collation tables, the value can contain a disambiguator (e.g. "65,65;1").
Name |
The name of a sub-table contains 3 parts separated by "-":
type, source encoding and target encoding.
Examples: "XLT-Latin2-Unicode", "COL-Latin1-German2"
Type |
Type of sub-table.