|
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
public abstract class DirectionEstimator
Interface for direction estimators.
Constructor Summary | |
---|---|
DirectionEstimator()
|
Method Summary | |
---|---|
HasDirection.Direction |
estimateDirection(SafeHtml html)
Estimates the direction of a SafeHtml. |
abstract HasDirection.Direction |
estimateDirection(java.lang.String str)
Estimates the direction of a plain-text string. |
HasDirection.Direction |
estimateDirection(java.lang.String str,
boolean isHtml)
Estimates the direction of a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectionEstimator()
Method Detail |
---|
public abstract HasDirection.Direction estimateDirection(java.lang.String str)
str
- The string to check.
str
's estimated direction.public HasDirection.Direction estimateDirection(java.lang.String str, boolean isHtml)
str
- The string to check.isHtml
- Whether str
is HTML / HTML-escaped. false
means that str
is plain-text.
str
's estimated direction.public HasDirection.Direction estimateDirection(SafeHtml html)
html
- The string to check.
html
's estimated direction.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |