메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
GetResourceBundleObject ( string messageKey, |
||
Load ( |
||
LoadFieldValue ( |
||
ValidateMessage ( string key, |
|
public static GetLocalizedMessage ( string key ) : string | ||
key | string | |
리턴 | string |
public static GetLocalizedMessage ( string key, |
||
key | string | |
locale | ||
리턴 | string |
public static GetResourceManagerFactory ( ) : IResourceManagerFactory | ||
리턴 | IResourceManagerFactory |
protected static InitializeMessages ( string bundleName, |
||
bundleName | string | Property file with that contains the message bundle |
clazz | where constants will reside | |
리턴 | void |
public static SetResourceManagerFactory ( IResourceManagerFactory resourceManagerFactory ) : void | ||
resourceManagerFactory | IResourceManagerFactory | The |
리턴 | void |