FileDocCategorySizeDatePackage
CollatorFactoryBase.javaAPI DocJava SE 5 API1522Fri Aug 26 14:55:40 BST 2005com.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);