|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.i18n.shared.DirectionEstimator com.google.gwt.i18n.shared.FirstStrongDirectionEstimator
public class FirstStrongDirectionEstimator
Direction estimator that uses the "first strong" heuristic.
Constructor Summary | |
---|---|
FirstStrongDirectionEstimator()
|
Method Summary | |
---|---|
HasDirection.Direction |
estimateDirection(java.lang.String str)
Estimates the direction of a given string using the "first strong" heuristic: The return value is determined by the first character in the string with strong directionality. |
static FirstStrongDirectionEstimator |
get()
Get an instance of FirstStrongDirectionEstimator. |
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 FirstStrongDirectionEstimator()
Method Detail |
---|
public static FirstStrongDirectionEstimator get()
public HasDirection.Direction estimateDirection(java.lang.String str)
estimateDirection
in class DirectionEstimator
str
- Input string.
str
.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |