net.sf.zekr.engine.common
Class LocalizedResource
java.lang.Object
net.sf.zekr.engine.common.LocalizedResource
- Direct Known Subclasses:
- AbstractQuranPagingData, RevelationData
public class LocalizedResource
- extends java.lang.Object
This class can be extended by resources (like recitation, translation, revelations) in order to add
localization support to their name field.
TODO: this feature is incomplete.
- Author:
- Mohsen Saboorian
Field Summary |
protected java.util.Map |
names
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
names
protected java.util.Map names
LocalizedResource
public LocalizedResource()
getNames
public java.util.Map getNames()
getName
public java.lang.String getName(java.lang.String langCode)
getLocalizedName
public java.lang.String getLocalizedName()
- Cautious: this method should only be called upon instantiation of
ApplicationConfig
.
- Returns:
- localized resource name