Example usage for java.util Locale getExtensionKeys

List of usage examples for java.util Locale getExtensionKeys

Introduction

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

Prototype

public Set<Character> getExtensionKeys() 

Source Link

Document

Returns the set of extension keys associated with this locale, or the empty set if it has no extensions.

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

}