RichFaces Core API 4.2.2.Final

org.richfaces.l10n
Class MessageInterpolator

java.lang.Object
  extended by org.richfaces.l10n.MessageInterpolator

public class MessageInterpolator
extends Object

Author:
Nick Belaevski

Constructor Summary
MessageInterpolator(BundleLoader bundleLoader)
           
 
Method Summary
protected  String getMessageKey(Enum<?> key)
           
protected  String getPattern(Locale locale, Enum<?> key)
           
 String interpolate(Locale locale, Enum<?> key, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageInterpolator

public MessageInterpolator(BundleLoader bundleLoader)
Method Detail

getMessageKey

protected String getMessageKey(Enum<?> key)

getPattern

protected String getPattern(Locale locale,
                            Enum<?> key)

interpolate

public String interpolate(Locale locale,
                          Enum<?> key,
                          Object... args)
                   throws InterpolationException
Throws:
InterpolationException

RichFaces Core API 4.2.2.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.