public final class CharMirror
extends java.lang.Object
Mirror related utilities.
This work was originally authored by Glenn Adams (gadams@apache.org).
Modifier and Type | Method and Description |
---|---|
static boolean |
hasMirrorable(java.lang.String s)
Determine if string has a mirrorable character.
|
static java.lang.String |
mirror(java.lang.String s)
Mirror characters that are designated as having the bidi mirrorred property.
|
public static java.lang.String mirror(java.lang.String s)
s
- a string whose characters are to be mirroredpublic static boolean hasMirrorable(java.lang.String s)
s
- a string whose characters are to be tested for mirrorabilityCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.