FileDocCategorySizeDatePackage
CollatorFactoryBase.javaAPI DocJava SE 6 API1526Tue Jun 10 00:22:32 BST 2008com.sun.org.apache.xalan.internal.xsltc.dom

CollatorFactoryBase

public class CollatorFactoryBase extends Object implements CollatorFactory
author
W. Eliot Kimber (eliot@isogen.com)

Fields Summary
public static final Locale
DEFAULT_LOCALE
public static final Collator
DEFAULT_COLLATOR
Constructors Summary
public CollatorFactoryBase()

    
      
    
Methods Summary
public java.text.CollatorgetCollator(java.lang.String lang, java.lang.String country)

        return Collator.getInstance(new Locale(lang, country));
    
public java.text.CollatorgetCollator(java.util.Locale locale)

        if (locale == DEFAULT_LOCALE)
            return DEFAULT_COLLATOR;
        else
            return Collator.getInstance(locale);