com.ibm.icu.text.RbnfLenientScannerProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icu4j Show documentation
Show all versions of icu4j Show documentation
International Component for Unicode for Java (ICU4J) is a mature, widely used Java library
providing Unicode and Globalization support
/*
*******************************************************************************
* Copyright (C) 2009-2012, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package com.ibm.icu.text;
import com.ibm.icu.util.ULocale;
/**
* A provider for an RbnfLenientScanner.
*
* @stable ICU 4.4
*/
public interface RbnfLenientScannerProvider {
/**
* Returns a scanner appropriate for the given locale, with optional extra data.
* in the form of collation rules.
*
* @param locale the locale to provide the default lenient rules.
* @param extras extra collation rules
* @return the lenient scanner, or null
* @stable ICU 4.4
*/
RbnfLenientScanner get(ULocale locale, String extras);
}