Coverage Summary for Class: Normalizer2Factory (com.acciente.oacc.normalizer.icu4j)
Class | Class, % | Method, % | Line, % |
---|---|---|---|
Normalizer2Factory | 100% (1/ 1) | 50% (1/ 2) | 50% (1/ 2) |
1 /*
2 * Copyright 2009-2018, Acciente LLC
3 *
4 * Acciente LLC licenses this file to you under the
5 * Apache License, Version 2.0 (the "License"); you
6 * may not use this file except in compliance with the
7 * License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in
12 * writing, software distributed under the License is
13 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
14 * OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing
16 * permissions and limitations under the License.
17 */
18
19 package com.acciente.oacc.normalizer.icu4j;
20
21 import com.ibm.icu.text.Normalizer2;
22
23 public class Normalizer2Factory {
24 public static Normalizer2 getNFCInstance() {
25 return Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.COMPOSE);
26 }
27 }