首页 > 解决方案 > java.text.Normalizer 和 android.icu.text.Normalizer2 的区别

问题描述

java.text.Normalizer和 和有什么不一样android.icu.text.Normalizer2

我研究了这个页面https://developer.android.com/guide/topics/resources/internationalization,但它不包含所需的信息。

标签: androidnormalization

解决方案


Normalizer2 is an abstract class and is not supposed to be extended for general use.

The Normalizer2 class is not intended for public subclassing.

我快速搜索了 AOSP,发现主要是 Normalizer2 的内部使用。


推荐阅读