|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.lang.text.StrLookup
net.sf.morph.integration.commons.lang.LanguageStrLookup
public class LanguageStrLookup
Implement StrLookup using a Morph Language and a source object.
| Constructor Summary | |
|---|---|
LanguageStrLookup(java.lang.Object source)
Create a new LanguageStrLookup. |
|
LanguageStrLookup(java.lang.Object source,
DecoratedLanguage language)
Create a new LanguageStrLookup. |
|
| Method Summary | |
|---|---|
DecoratedLanguage |
getLanguage()
Get the language. |
java.lang.String |
lookup(java.lang.String key)
Resolve the specified "property". |
void |
setLanguage(DecoratedLanguage language)
Set the language. |
| Methods inherited from class org.apache.commons.lang.text.StrLookup |
|---|
mapLookup, noneLookup, systemPropertiesLookup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageStrLookup(java.lang.Object source)
source - Object
public LanguageStrLookup(java.lang.Object source,
DecoratedLanguage language)
source - Objectlanguage - DecoratedLanguage| Method Detail |
|---|
public java.lang.String lookup(java.lang.String key)
lookup in class org.apache.commons.lang.text.StrLookupkey - Stringpublic DecoratedLanguage getLanguage()
public void setLanguage(DecoratedLanguage language)
language - the language to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||