Class CharMirror
java.lang.Object
org.apache.fop.complexscripts.util.CharMirror
Mirror related utilities.
This work was originally authored by Glenn Adams (gadams@apache.org).
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Determine if string has a mirrorable character.static String
Mirror characters that are designated as having the bidi mirrorred property.
-
Method Details
-
mirror
Mirror characters that are designated as having the bidi mirrorred property.- Parameters:
s
- a string whose characters are to be mirrored- Returns:
- the resulting string
-
hasMirrorable
Determine if string has a mirrorable character.- Parameters:
s
- a string whose characters are to be tested for mirrorability- Returns:
- true if some character can be mirrored
-