|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.i18n.shared.DirectionEstimator
com.google.gwt.i18n.shared.AnyRtlDirectionEstimator
public class AnyRtlDirectionEstimator
Direction estimator that uses the "any RTL" heuristic.
| Constructor Summary | |
|---|---|
AnyRtlDirectionEstimator()
|
|
| Method Summary | |
|---|---|
HasDirection.Direction |
estimateDirection(java.lang.String str)
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. |
static AnyRtlDirectionEstimator |
get()
Get an instance of AnyRtlDirectionEstimator. |
| Methods inherited from class com.google.gwt.i18n.shared.DirectionEstimator |
|---|
estimateDirection, estimateDirection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnyRtlDirectionEstimator()
| Method Detail |
|---|
public static AnyRtlDirectionEstimator get()
public HasDirection.Direction estimateDirection(java.lang.String str)
estimateDirection in class DirectionEstimatorstr - Input string.
str.
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||