Method | Description | |
---|---|---|
GetLocalizedMessage ( string key ) : string | ||
GetLocalizedMessage ( string key, |
||
GetResourceManagerFactory ( ) : IResourceManagerFactory |
Gets the static IResourceManagerFactory instance responsible for creating ResourceManager instances in this class. LUCENENET specific.
|
|
SetResourceManagerFactory ( IResourceManagerFactory resourceManagerFactory ) : void |
Sets the IResourceManagerFactory used to create instances of ResourceManager for retrieving localized resources. Defaults to BundleResourceManagerFactory if not set. LUCENENET specific.
|
Method | Description | |
---|---|---|
InitializeMessages ( string bundleName, |
Initialize a given class with the message bundle Keys Should be called from a class that extends NLS in a static block at class load time.
|
|
NLS ( ) : Lucene.Net.Support |
Method | Description | |
---|---|---|
GetResourceBundleObject ( string messageKey, |
||
Load ( |
||
LoadFieldValue ( |
||
ValidateMessage ( string key, |
|
public static GetLocalizedMessage ( string key ) : string | ||
key | string | |
return | string |
public static GetLocalizedMessage ( string key, |
||
key | string | |
locale | ||
return | string |
public static GetResourceManagerFactory ( ) : IResourceManagerFactory | ||
return | IResourceManagerFactory |
protected static InitializeMessages ( string bundleName, |
||
bundleName | string | Property file with that contains the message bundle |
clazz | where constants will reside | |
return | void |
public static SetResourceManagerFactory ( IResourceManagerFactory resourceManagerFactory ) : void | ||
resourceManagerFactory | IResourceManagerFactory | The |
return | void |