Example usage for java.util Locale getDisplayScript

List of usage examples for java.util Locale getDisplayScript

Introduction

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

Prototype

public String getDisplayScript() 

Source Link

Document

Returns a name for the locale's script that is appropriate for display to the user.

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

}