Searched refs:IndexUtil (Results 1 – 14 of 14) sorted by relevance
27 IndexUtil::IndexUtil(const std::string &localeTag) in IndexUtil() function in OHOS::Global::I18n::IndexUtil42 IndexUtil::~IndexUtil() in ~IndexUtil()46 std::vector<std::string> IndexUtil::GetIndexList() in GetIndexList()65 void IndexUtil::AddLocale(const std::string &localeTag) in AddLocale()74 std::string IndexUtil::GetIndex(const std::string &String) in GetIndex()
27 class IndexUtil {29 explicit IndexUtil(const std::string &localeTag);30 ~IndexUtil();
74 | ohos.i18n | IndexUtil | getIndex(text: string): string; | 新增 |75 | ohos.i18n | IndexUtil | addLocale(locale: string): void; | 新增 |76 | ohos.i18n | IndexUtil | getIndexList(): Array\<string>; | 新增 |77 | ohos.i18n | i18n | getInstance(locale?:string): IndexUtil; | 新增 |
9 For details about how to use related APIs, see [IndexUtil](../reference/apis-localization-kit/js-ap…16 2. Create an **IndexUtil** object.
74 | ohos.i18n | IndexUtil | getIndex(text: string): string; | Added|75 | ohos.i18n | IndexUtil | addLocale(locale: string): void; | Added|76 | ohos.i18n | IndexUtil | getIndexList(): Array\<string>; | Added|77 | ohos.i18n | i18n | getInstance(locale?:string): IndexUtil; | Added|
29 IndexUtil indexUtil(input); in DoSomethingInterestingWithMyAPI()
9 接口具体使用方法和说明请参考[IndexUtil](../reference/apis-localization-kit/js-apis-i18n.md#indexutil8)的API接口文档。
1187 getInstance(locale?:string): IndexUtil1189 创建并返回IndexUtil对象。1205 | [IndexUtil](#indexutil8) | locale对应的IndexUtil对象。 |1209 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");1213 ## IndexUtil<sup>8+</sup>1235 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");1260 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");1288 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
107 std::unique_ptr<IndexUtil> indexUtil_ = nullptr;
212 IndexUtil *indexUtil = new IndexUtil("zh-CN");218 IndexUtil *indexUtil2 = new IndexUtil("");219 IndexUtil *idxUtil = new IndexUtil("@@#");226 IndexUtil indexUtil3("");
1187 getInstance(locale?:string): IndexUtil1189 Creates an **IndexUtil** object.1205 | [IndexUtil](#indexutil8) | **IndexUtil** object mapping to the **locale** object.|1209 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");1213 ## IndexUtil<sup>8+</sup>1235 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");1260 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");1288 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
179 | 全球化-I18N | getInstance(locale?:string): IndexUtil;<br/>getIndexList(): Array\<string>; | 新增 | 新增获…
1404 indexUtil_ = std::make_unique<IndexUtil>(localeTag); in InitIndexUtilContext()
179 | Globalization - I18N| getInstance(locale?:string): IndexUtil;<br>getIndexList(): Array\<string>; …