java.lang.Object | ||
↳ | com.google.gwt.i18n.shared.DirectionEstimator | |
↳ | com.google.gwt.i18n.shared.AnyRtlDirectionEstimator |
Direction estimator that uses the "any RTL" heuristic.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Estimates the direction of a given string using the "any RTL" heuristic:
the return value is RTL if the string contains at least one RTL character.
| |||||||||||
Get an instance of AnyRtlDirectionEstimator.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.i18n.shared.DirectionEstimator | |||||||||||
From class
java.lang.Object
|
Estimates the direction of a given string using the "any RTL" heuristic: the return value is RTL if the string contains at least one RTL character. Otherwise, it is LTR.
str | Input string. |
---|
str
.
Get an instance of AnyRtlDirectionEstimator.