Class: TwitterCldr::Resources::TailoringImporter

Inherits:
Importer
  • Object
show all
Defined in:
lib/twitter_cldr/resources/tailoring_importer.rb

Overview

This class should be used with JRuby 1.7 in 1.9 mode, ICU4J version >= 49.1, and CLDR version <= 23 (v24 syntax is not supported yet).

Defined Under Namespace

Classes: ImportError

Constant Summary collapse

SUPPORTED_RULES =
%w[p s t i pc sc tc ic x]
SIMPLE_RULES =
%w[p s t i]
LEVEL_RULE_REGEXP =
/^(p|s|t|i)(c?)$/
IGNORED_TAGS =
%w[reset text #comment]
LAST_BYTE_MASK =
0xFF
LOCALES_MAP =
{
  :'zh-Hant' => :'zh_Hant',
  :id => :root,
  :it => :root,
  :ms => :root,
  :nl => :root,
  :pt => :root
}
EMPTY_TAILORING_DATA =
{
  collator_options: {},
  tailored_table: '',
  suppressed_contractions: ''
}

Constants inherited from Importer

Importer::DEFAULT_ENGINE

Instance Attribute Summary

Attributes inherited from Importer

#params, #requirements

Method Summary

Methods inherited from Importer

#can_import?, default_params, #import, #initialize, locales, output_path, parameter, parameters, #prepare, requirement, requirements, ruby_engine

Constructor Details

This class inherits a constructor from TwitterCldr::Resources::Importer