Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Static Public Member Functions | List of all members
Lucene.Net.Messages.NLS Class Reference

MessageBundles classes extend this class, to implement a bundle. More...

Classes

interface  IPriviligedAction
 

Static Public Member Functions

static System.String GetLocalizedMessage (System.String key)
 
static System.String GetLocalizedMessage (System.String key, System.Globalization.CultureInfo locale)
 
static System.String GetLocalizedMessage (System.String key, System.Globalization.CultureInfo locale, params System.Object[] args)
 
static System.String GetLocalizedMessage (System.String key, params System.Object[] args)
 

Detailed Description

MessageBundles classes extend this class, to implement a bundle.

For Native Language Support (NLS), system of software internationalization.

This interface is similar to the NLS class in eclipse.osgi.util.NLS class - initializeMessages() method resets the values of all static strings, should only be called by classes that extend from NLS (see TestMessages.java for reference) - performs validation of all message in a bundle, at class load time - performs per message validation at runtime - see NLSTest.java for usage reference

MessageBundle classes may subclass this type.

Definition at line 38 of file NLS.cs.

Member Function Documentation

static System.String Lucene.Net.Messages.NLS.GetLocalizedMessage ( System.String  key)
static

Definition at line 74 of file NLS.cs.

static System.String Lucene.Net.Messages.NLS.GetLocalizedMessage ( System.String  key,
System.Globalization.CultureInfo  locale 
)
static

Definition at line 79 of file NLS.cs.

static System.String Lucene.Net.Messages.NLS.GetLocalizedMessage ( System.String  key,
System.Globalization.CultureInfo  locale,
params System.Object[]  args 
)
static

Definition at line 89 of file NLS.cs.

static System.String Lucene.Net.Messages.NLS.GetLocalizedMessage ( System.String  key,
params System.Object[]  args 
)
static

Definition at line 101 of file NLS.cs.


The documentation for this class was generated from the following file: