2 *******************************************************************************
\r
3 * Copyright (C) 2009-2010, International Business Machines Corporation and *
\r
4 * others. All Rights Reserved. *
\r
5 *******************************************************************************
\r
8 package com.ibm.icu.text;
\r
10 import com.ibm.icu.util.ULocale;
\r
13 * A provider for an RbnfLenientScanner.
\r
16 * @provisional This API might change or be removed in a future release.
\r
18 public interface RbnfLenientScannerProvider {
\r
20 * Returns a scanner appropriate for the given locale, with optional extra data.
\r
21 * in the form of collation rules.
\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
27 * @provisional This API might change or be removed in a future release.
\r
29 RbnfLenientScanner get(ULocale locale, String extras);
\r