|
||||||||||
| 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 java.lang.String |
getMessage(java.lang.String key)
Gets the message for the given key from this packages resource bundle. |
protected java.lang.String |
getMessage(java.lang.String key,
java.lang.Object param)
Gets the message for the given key from this packages resource bundle and formats it with the given parameter. |
protected java.lang.String |
getMessage(java.lang.String key,
java.lang.Object[] params)
Gets the message for the given key from this packages resource bundle and formats it with the given parameters. |
protected java.lang.String |
getMessage(java.lang.String key,
java.lang.Object param1,
java.lang.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 java.lang.String getMessage(java.lang.String key)
key - the key for the required message
protected java.lang.String getMessage(java.lang.String key,
java.lang.Object param)
key - the key for the required messageparam - the parameter to be used to format the message with
protected java.lang.String getMessage(java.lang.String key,
java.lang.Object param1,
java.lang.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 java.lang.String getMessage(java.lang.String key,
java.lang.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 | |||||||||