|
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.WordCountDirectionEstimator
public class WordCountDirectionEstimator
Direction estimator that uses the "word count" heuristic.
Note: this is probably the recommended estimator for most use cases.
| Constructor Summary | |
|---|---|
WordCountDirectionEstimator()
|
|
| Method Summary | |
|---|---|
HasDirection.Direction |
estimateDirection(java.lang.String str)
Estimates the direction of a given string using the "word count" heuristic, as defined at BidiUtils.estimateDirection(java.lang.String). |
static WordCountDirectionEstimator |
get()
Get an instance of WordCountDirectionEstimator. |
| 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 WordCountDirectionEstimator()
| Method Detail |
|---|
public static WordCountDirectionEstimator get()
public HasDirection.Direction estimateDirection(java.lang.String str)
BidiUtils.estimateDirection(java.lang.String).
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 | |||||||