org.richfaces.l10n
Class MessageInterpolator
java.lang.Object
org.richfaces.l10n.MessageInterpolator
public class MessageInterpolator
- extends java.lang.Object
- Author:
- Nick Belaevski
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 |
MessageInterpolator
public MessageInterpolator(BundleLoader bundleLoader)
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
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.