org.omnaest.i18nbinder.internal
Class LocaleFilter

java.lang.Object
  extended by org.omnaest.i18nbinder.internal.LocaleFilter

public class LocaleFilter
extends Object

Locale filter which allows to easily filter locales. As default all locales are accepted.

Author:
Omnaest

Field Summary
protected  Pattern pattern
           
 
Constructor Summary
LocaleFilter()
           
 
Method Summary
 Pattern getPattern()
           
 boolean isLocaleAccepted(String locale)
           
 void setPattern(Pattern pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

protected Pattern pattern
Constructor Detail

LocaleFilter

public LocaleFilter()
Method Detail

isLocaleAccepted

public boolean isLocaleAccepted(String locale)

setPattern

public void setPattern(Pattern pattern)

getPattern

public Pattern getPattern()


Copyright © 2012. All Rights Reserved.