Package de.mhus.lib.core.util
Class MNlsBundle
- java.lang.Object
-
- de.mhus.lib.core.MLog
-
- de.mhus.lib.core.lang.MObject
-
- de.mhus.lib.core.util.MNlsBundle
-
- All Implemented Interfaces:
ILog,MNlsProvider,Nls
- Direct Known Subclasses:
MNlsFactory
public abstract class MNlsBundle extends MObject
-
-
Constructor Summary
Constructors Constructor Description MNlsBundle()MNlsBundle(Object owner)MNlsBundle(String path)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MNlscreateNls(String locale)Create a NLS for the given path and locale or return null.MNlsgetDefaultNls()MNlsgetNls(String locale)MNlsgetNls(Locale locale)StringgetPath()static MNlsBundlelookup(Object owner)MNlsBundlesetOwner(Object owner)voidsetPath(String path)
-
-
-
Method Detail
-
getDefaultNls
public MNls getDefaultNls()
-
createNls
public abstract MNls createNls(String locale)
Create a NLS for the given path and locale or return null.- Parameters:
locale-- Returns:
- the nls object
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
setOwner
public MNlsBundle setOwner(Object owner)
-
lookup
public static MNlsBundle lookup(Object owner)
-
-