Example usage for java.util Locale getUnicodeLocaleAttributes

List of usage examples for java.util Locale getUnicodeLocaleAttributes

Introduction

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

Prototype

public Set<String> getUnicodeLocaleAttributes() 

Source Link

Document

Returns the set of unicode locale attributes associated with this locale, or the empty set if it has no attributes.

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.getUnicodeLocaleAttributes());

}