2 *******************************************************************************
3 * Copyright (C) 2009-2012, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
8 package com.ibm.icu.text;
10 import com.ibm.icu.util.ULocale;
13 * A provider for an RbnfLenientScanner.
17 public interface RbnfLenientScannerProvider {
19 * Returns a scanner appropriate for the given locale, with optional extra data.
20 * in the form of collation rules.
22 * @param locale the locale to provide the default lenient rules.
23 * @param extras extra collation rules
24 * @return the lenient scanner, or null
27 RbnfLenientScanner get(ULocale locale, String extras);