RichFaces Core API 4.1.0.20110910-M2

org.richfaces.l10n
Class MessageInterpolator

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

public class MessageInterpolator
extends java.lang.Object

Author:
Nick Belaevski

Constructor Summary
MessageInterpolator(BundleLoader bundleLoader)
           
 
Method Summary
protected  java.lang.String getMessageKey(java.lang.Enum<?> key)
           
protected  java.lang.String getPattern(java.util.Locale locale, java.lang.Enum<?> key)
           
 java.lang.String interpolate(java.util.Locale locale, java.lang.Enum<?> key, java.lang.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 java.lang.String getMessageKey(java.lang.Enum<?> key)

getPattern

protected java.lang.String getPattern(java.util.Locale locale,
                                      java.lang.Enum<?> key)

interpolate

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

RichFaces Core API 4.1.0.20110910-M2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.