|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ notices overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.common.notices
Class FormattedNoticeTranslator

java.lang.Objectcom.aendvari.common.notices.FormattedNoticeTranslator
- All Implemented Interfaces:
- NoticeTranslator
- public class FormattedNoticeTranslator
- extends java.lang.Object
- implements NoticeTranslator
- extends java.lang.Object
Provides the ability to translate formatted notices into plain text.
See the java.text.MessageFormat class for information on creating
formatted text
| Field Summary | |
private java.util.Locale |
locale
The Locale to use for translation. |
| Constructor Summary | |
FormattedNoticeTranslator()
Constructs a FormattedNoticeTranslator. |
|
FormattedNoticeTranslator(java.util.Locale setLocale)
Constructs a FormattedNoticeTranslator. |
|
| Method Summary | |
java.util.Collection |
translate(java.util.Collection notices)
Translates a Collection of notices. |
java.lang.String |
translate(Notice notice)
Translates a single notice. |
java.lang.String[] |
translate(Notice[] notices)
Translates an array of notices. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
locale
private java.util.Locale locale
- The
Localeto use for translation.
| Constructor Detail |
FormattedNoticeTranslator
public FormattedNoticeTranslator(java.util.Locale setLocale)
- Constructs a FormattedNoticeTranslator.
FormattedNoticeTranslator
public FormattedNoticeTranslator()
- Constructs a FormattedNoticeTranslator.
| Method Detail |
translate
public java.lang.String translate(Notice notice)
- Translates a single notice.
- Specified by:
translatein interfaceNoticeTranslator
translate
public java.util.Collection translate(java.util.Collection notices)
- Translates a
Collectionof notices.- Specified by:
translatein interfaceNoticeTranslator
translate
public java.lang.String[] translate(Notice[] notices)
- Translates an array of notices.
- Specified by:
translatein interfaceNoticeTranslator
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ notices overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.common.notices.FormattedNoticeTranslator