Package org.apache.abdera.i18n.text
Class Bidi
- java.lang.Object
-
- org.apache.abdera.i18n.text.Bidi
-
@Deprecated(since="2021-07-29") public class Bidi extends java.lang.Object
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.Bidi guessing algorithms
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Bidi.Direction
Deprecated.
-
Constructor Summary
Constructors Constructor Description Bidi()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Bidi.Direction
guessDirectionFromEncoding(java.lang.String charset)
Deprecated.Algorithm that will determine text direction by looking at the character set encoding.static Bidi.Direction
guessDirectionFromJavaBidi(java.lang.String text)
Deprecated.Algorithm that defers to the Java Bidi implementation to determine text direction.static Bidi.Direction
guessDirectionFromLanguage(Lang lang)
Deprecated.Algorithm that will determine text direction by looking at the characteristics of the language tag.static Bidi.Direction
guessDirectionFromTextProperties(java.lang.String text)
Deprecated.Algorithm that analyzes properties of the text to determine text direction.
-
-
-
Method Detail
-
guessDirectionFromLanguage
public static Bidi.Direction guessDirectionFromLanguage(Lang lang)
Deprecated.Algorithm that will determine text direction by looking at the characteristics of the language tag. If the tag uses a language or script that is known to be RTL, then Direction.RTL will be returned
-
guessDirectionFromEncoding
public static Bidi.Direction guessDirectionFromEncoding(java.lang.String charset)
Deprecated.Algorithm that will determine text direction by looking at the character set encoding. If the charset is typically used for RTL languages, Direction.RTL will be returned
-
guessDirectionFromTextProperties
public static Bidi.Direction guessDirectionFromTextProperties(java.lang.String text)
Deprecated.Algorithm that analyzes properties of the text to determine text direction. If the majority of characters in the text are RTL characters, then Direction.RTL will be returned.
-
guessDirectionFromJavaBidi
public static Bidi.Direction guessDirectionFromJavaBidi(java.lang.String text)
Deprecated.Algorithm that defers to the Java Bidi implementation to determine text direction.
-
-