|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.tomcat.AbstractI18NMojo
public abstract class AbstractI18NMojo
Abstract goal that provides i18n support.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractI18NMojo()
Creates a new AbstractI18NMojo. |
|
| Method Summary | |
|---|---|
protected String |
getMessage(String key)
Gets the message for the given key from this packages resource bundle. |
protected String |
getMessage(String key,
Object param)
Gets the message for the given key from this packages resource bundle and formats it with the given parameter. |
protected String |
getMessage(String key,
Object[] params)
Gets the message for the given key from this packages resource bundle and formats it with the given parameters. |
protected String |
getMessage(String key,
Object param1,
Object param2)
Gets the message for the given key from this packages resource bundle and formats it with the given parameters. |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute |
| Constructor Detail |
|---|
public AbstractI18NMojo()
AbstractI18NMojo.
| Method Detail |
|---|
protected String getMessage(String key)
key - the key for the required message
protected String getMessage(String key,
Object param)
key - the key for the required messageparam - the parameter to be used to format the message with
protected String getMessage(String key,
Object param1,
Object param2)
key - the key for the required messageparam1 - the first parameter to be used to format the message withparam2 - the second parameter to be used to format the message with
protected String getMessage(String key,
Object[] params)
key - the key for the required messageparams - the parameters to be used to format the message with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||