Table of Contents

Class Locale

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class Locale : JVMBridgeBase<Locale>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Locale>
Locale
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Locale>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Locale>.IsAssignableFrom<T>()
JVMBridgeBase<Locale>.Execute<T>(params T[])
JVMBridgeBase<Locale>.DynBridgeClazz
JVMBridgeBase<Locale>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Locale()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Locale()

Locale(String)

public Locale(String arg0)

Parameters

arg0 String

String

Locale(String, String)

public Locale(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Locale(String, String, String)

public Locale(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Locale(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Locale(params object[] args)

Parameters

args object[]

Properties

AvailableLocales

public static Locale[] AvailableLocales { get; }

Property Value

Locale[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CANADA

public static Locale CANADA { get; }

Property Value

Locale

CANADA_FRENCH

public static Locale CANADA_FRENCH { get; }

Property Value

Locale

CHINA

public static Locale CHINA { get; }

Property Value

Locale

CHINESE

public static Locale CHINESE { get; }

Property Value

Locale

Country

public String Country { get; }

Property Value

String

Default

public static Locale Default { get; set; }

Property Value

Locale

DisplayCountry

public String DisplayCountry { get; }

Property Value

String

DisplayLanguage

public String DisplayLanguage { get; }

Property Value

String

DisplayName

public String DisplayName { get; }

Property Value

String

DisplayScript

public String DisplayScript { get; }

Property Value

String

DisplayVariant

public String DisplayVariant { get; }

Property Value

String

ENGLISH

public static Locale ENGLISH { get; }

Property Value

Locale

ExtensionKeys

public Set<Character> ExtensionKeys { get; }

Property Value

Set<Character>

FRANCE

public static Locale FRANCE { get; }

Property Value

Locale

FRENCH

public static Locale FRENCH { get; }

Property Value

Locale

GERMAN

public static Locale GERMAN { get; }

Property Value

Locale

GERMANY

public static Locale GERMANY { get; }

Property Value

Locale

ISO3Country

public String ISO3Country { get; }

Property Value

String

ISO3Language

public String ISO3Language { get; }

Property Value

String

ISOCountries

public static String[] ISOCountries { get; }

Property Value

String[]

ISOLanguages

public static String[] ISOLanguages { get; }

Property Value

String[]

ITALIAN

public static Locale ITALIAN { get; }

Property Value

Locale

ITALY

public static Locale ITALY { get; }

Property Value

Locale

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

JAPAN

public static Locale JAPAN { get; }

Property Value

Locale

JAPANESE

public static Locale JAPANESE { get; }

Property Value

Locale

KOREA

public static Locale KOREA { get; }

Property Value

Locale

KOREAN

public static Locale KOREAN { get; }

Property Value

Locale

Language

public String Language { get; }

Property Value

String

PRC

public static Locale PRC { get; }

Property Value

Locale

PRIVATE_USE_EXTENSION

public static char PRIVATE_USE_EXTENSION { get; }

Property Value

char

ROOT

public static Locale ROOT { get; }

Property Value

Locale

SIMPLIFIED_CHINESE

public static Locale SIMPLIFIED_CHINESE { get; }

Property Value

Locale

Script

public String Script { get; }

Property Value

String

TAIWAN

public static Locale TAIWAN { get; }

Property Value

Locale

TRADITIONAL_CHINESE

public static Locale TRADITIONAL_CHINESE { get; }

Property Value

Locale

UK

public static Locale UK { get; }

Property Value

Locale

UNICODE_LOCALE_EXTENSION

public static char UNICODE_LOCALE_EXTENSION { get; }

Property Value

char

US

public static Locale US { get; }

Property Value

Locale

UnicodeLocaleAttributes

public Set<String> UnicodeLocaleAttributes { get; }

Property Value

Set<String>

UnicodeLocaleKeys

public Set<String> UnicodeLocaleKeys { get; }

Property Value

Set<String>

Variant

public String Variant { get; }

Property Value

String

Methods

Filter(List<LanguageRange>, Collection<Locale>)

public static List<Locale> Filter(List<Locale.LanguageRange> arg0, Collection<Locale> arg1)

Parameters

arg0 List<Locale.LanguageRange>

List

arg1 Collection<Locale>

Collection

Returns

List<Locale>

List

Filter(List<LanguageRange>, Collection<Locale>, FilteringMode)

public static List<Locale> Filter(List<Locale.LanguageRange> arg0, Collection<Locale> arg1, Locale.FilteringMode arg2)

Parameters

arg0 List<Locale.LanguageRange>

List

arg1 Collection<Locale>

Collection

arg2 Locale.FilteringMode

Locale.FilteringMode

Returns

List<Locale>

List

FilterTags(List<LanguageRange>, Collection<String>)

public static List<String> FilterTags(List<Locale.LanguageRange> arg0, Collection<String> arg1)

Parameters

arg0 List<Locale.LanguageRange>

List

arg1 Collection<String>

Collection

Returns

List<String>

List

FilterTags(List<LanguageRange>, Collection<String>, FilteringMode)

public static List<String> FilterTags(List<Locale.LanguageRange> arg0, Collection<String> arg1, Locale.FilteringMode arg2)

Parameters

arg0 List<Locale.LanguageRange>

List

arg1 Collection<String>

Collection

arg2 Locale.FilteringMode

Locale.FilteringMode

Returns

List<String>

List

ForLanguageTag(String)

public static Locale ForLanguageTag(String arg0)

Parameters

arg0 String

String

Returns

Locale

Locale

GetDefault(Category)

public static Locale GetDefault(Locale.Category arg0)

Parameters

arg0 Locale.Category

Locale.Category

Returns

Locale

Locale

GetDisplayCountry(Locale)

public String GetDisplayCountry(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

GetDisplayLanguage(Locale)

public String GetDisplayLanguage(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

GetDisplayName(Locale)

public String GetDisplayName(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

GetDisplayScript(Locale)

public String GetDisplayScript(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

GetDisplayVariant(Locale)

public String GetDisplayVariant(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

GetExtension(char)

public String GetExtension(char arg0)

Parameters

arg0 char

char

Returns

String

String

GetISOCountries(IsoCountryCode)

public static Set<String> GetISOCountries(Locale.IsoCountryCode arg0)

Parameters

arg0 Locale.IsoCountryCode

Locale.IsoCountryCode

Returns

Set<String>

Set

GetUnicodeLocaleType(String)

public String GetUnicodeLocaleType(String arg0)

Parameters

arg0 String

String

Returns

String

String

HasExtensions()

public bool HasExtensions()

Returns

bool

bool

Lookup(List<LanguageRange>, Collection<Locale>)

public static Locale Lookup(List<Locale.LanguageRange> arg0, Collection<Locale> arg1)

Parameters

arg0 List<Locale.LanguageRange>

List

arg1 Collection<Locale>

Collection

Returns

Locale

Locale

LookupTag(List<LanguageRange>, Collection<String>)

public static String LookupTag(List<Locale.LanguageRange> arg0, Collection<String> arg1)

Parameters

arg0 List<Locale.LanguageRange>

List

arg1 Collection<String>

Collection

Returns

String

String

SetDefault(Category, Locale)

public static void SetDefault(Locale.Category arg0, Locale arg1)

Parameters

arg0 Locale.Category

Locale.Category

arg1 Locale

Locale

StripExtensions()

public Locale StripExtensions()

Returns

Locale

Locale

ToLanguageTag()

public String ToLanguageTag()

Returns

String

String

Operators

implicit operator Serializable(Locale)

Converter from Locale to Serializable

public static implicit operator Serializable(Locale t)

Parameters

t Locale

Returns

Serializable

implicit operator Cloneable(Locale)

Converter from Locale to Cloneable

public static implicit operator Cloneable(Locale t)

Parameters

t Locale

Returns

Cloneable