]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-4_4_2-src/main/classes/core/src/com/ibm/icu/text/RbnfLenientScannerProvider.java
go
[Dictionary.git] / jars / icu4j-4_4_2-src / main / classes / core / src / com / ibm / icu / text / RbnfLenientScannerProvider.java
1 /*\r
2  *******************************************************************************\r
3  * Copyright (C) 2009-2010, International Business Machines Corporation and    *\r
4  * others. All Rights Reserved.                                                *\r
5  *******************************************************************************\r
6  */\r
7 \r
8 package com.ibm.icu.text;\r
9 \r
10 import com.ibm.icu.util.ULocale;\r
11 \r
12 /**\r
13  * A provider for an RbnfLenientScanner.\r
14  *\r
15  * @draft ICU 4.4\r
16  * @provisional This API might change or be removed in a future release.\r
17  */\r
18 public interface RbnfLenientScannerProvider {\r
19   /**\r
20    * Returns a scanner appropriate for the given locale, with optional extra data.\r
21    * in the form of collation rules.\r
22    *\r
23    * @param locale the locale to provide the default lenient rules.\r
24    * @param extras extra collation rules\r
25    * @return the lenient scanner, or null\r
26    * @draft ICU 4.4\r
27    * @provisional This API might change or be removed in a future release.\r
28    */\r
29   RbnfLenientScanner get(ULocale locale, String extras);\r
30 }