Example usage for java.lang Character DIRECTIONALITY_PARAGRAPH_SEPARATOR

List of usage examples for java.lang Character DIRECTIONALITY_PARAGRAPH_SEPARATOR

Introduction

In this page you can find the example usage for java.lang Character DIRECTIONALITY_PARAGRAPH_SEPARATOR.

Prototype

byte DIRECTIONALITY_PARAGRAPH_SEPARATOR

To view the source code for java.lang Character DIRECTIONALITY_PARAGRAPH_SEPARATOR.

Click Source Link

Document

Neutral bidirectional character type "B" in the Unicode specification.

Usage

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.DIRECTIONALITY_PARAGRAPH_SEPARATOR == Character.getDirectionality(ch)) {
            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }// ww  w  .  jav a  2s .  co m
    }
}