public class Bidi
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Bidi.Direction |
Constructor and Description |
---|
Bidi() |
Modifier and Type | Method and Description |
---|---|
static Bidi.Direction |
guessDirectionFromEncoding(java.lang.String charset)
Algorithm that will determine text direction by looking at the
character set encoding.
|
static Bidi.Direction |
guessDirectionFromJavaBidi(java.lang.String text)
Algorithm that defers to the Java Bidi implementation to determine text direction.
|
static Bidi.Direction |
guessDirectionFromLanguage(Lang lang)
Algorithm that will determine text direction by looking at the
characteristics of the language tag.
|
static Bidi.Direction |
guessDirectionFromTextProperties(java.lang.String text)
Algorithm that analyzes properties of the text to determine text direction.
|
public static Bidi.Direction guessDirectionFromLanguage(Lang lang)
public static Bidi.Direction guessDirectionFromEncoding(java.lang.String charset)
public static Bidi.Direction guessDirectionFromTextProperties(java.lang.String text)
public static Bidi.Direction guessDirectionFromJavaBidi(java.lang.String text)
Copyright © 2010 - 2020 Adobe. All Rights Reserved