org.apache.cocoon.i18n
Interface I18nUtils.LocaleValidator

Enclosing class:
I18nUtils

public static interface I18nUtils.LocaleValidator

Callback interface for I18nUtils.findLocale(Map, String, Parameters, Locale, boolean, boolean, boolean, I18nUtils.LocaleValidator)

Since:
2.1.6

Method Summary
 boolean test(String name, Locale locale)
           
 

Method Detail

test

boolean test(String name,
             Locale locale)
Parameters:
name - of the locale (for debugging)
locale - to test
Returns:
true if locale satisfies validator's criteria


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.