Example usage for java.util Locale getUnicodeLocaleKeys

List of usage examples for java.util Locale getUnicodeLocaleKeys

Introduction

In this page you can find the example usage for java.util Locale getUnicodeLocaleKeys.

Prototype

public Set<String> getUnicodeLocaleKeys() 

Source Link

Document

Returns the set of Unicode locale keys defined by this locale, or the empty set if this locale has none.

Usage

From source file:Main.java

public static void main(String[] args) {
    Locale locale = Locale.CANADA_FRENCH;

    System.out.println("Locale1:" + locale);

    System.out.println(locale.getUnicodeLocaleKeys());

}