org.jiim.translation
Class AbbreviationsEngineImpl
java.lang.Object
org.jiim.translation.AbbreviationsEngineImpl
- All Implemented Interfaces:
- java.io.Serializable, IAbbreviationsEngine
public class AbbreviationsEngineImpl
- extends java.lang.Object
- implements IAbbreviationsEngine, java.io.Serializable
Implementation of the abbreviations engine that expands abbreviations and acronyms
- Author:
- Jorge De Castro
- See Also:
IAbbreviationsEngine,
Serialized Form
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
|
Method Summary |
java.lang.String |
expand(java.lang.String abbreviated,
java.lang.String language)
Expand acronym or abbreviated word into its full length |
org.springframework.context.MessageSource |
getMessageSource()
|
void |
init()
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
AbbreviationsEngineImpl
public AbbreviationsEngineImpl()
init
public void init()
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource)
- Specified by:
setMessageSource in interface IAbbreviationsEngine
getMessageSource
public org.springframework.context.MessageSource getMessageSource()
- Specified by:
getMessageSource in interface IAbbreviationsEngine
expand
public java.lang.String expand(java.lang.String abbreviated,
java.lang.String language)
- Description copied from interface:
IAbbreviationsEngine
- Expand acronym or abbreviated word into its full length
- Specified by:
expand in interface IAbbreviationsEngine
- Parameters:
abbreviated - The acronym or abbreviated stringlanguage - The language the string is written in
- Returns:
- The full length, unabridged string
© 2005 jorge de castro