ORG.oclc.fmts
Class Diacritic
java.lang.Object
|
+--ORG.oclc.fmts.Diacritic
- public class Diacritic
- extends Object
The Diacritic class handles diacritic characters that are
to be displayed in HTML. Typically the methods here should be
used after a character conversion to ASCII/Latin1.
- See Also:
Latin1Conv
Constructor Summary |
Diacritic()
Constructs a Diacritic object. |
Method Summary |
static String |
doHtmlDiacritics(String original)
Create a string where diacritic characters in the input
are changed to their appropriate ASCII/Latin1 characters. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ESCAPE
public static final int ESCAPE
GRAVE
public static final int GRAVE
ACUTE
public static final int ACUTE
CIRCUMFLEX
public static final int CIRCUMFLEX
TILDE
public static final int TILDE
UMLAUT
public static final int UMLAUT
HACEK
public static final int HACEK
ANGSTROM
public static final int ANGSTROM
CEDILLA
public static final int CEDILLA
queryDiacriticsTable
public static final int[] queryDiacriticsTable
- Filter diacritics within a Query.
Diacritic
public Diacritic()
- Constructs a Diacritic object.
doHtmlDiacritics
public static final String doHtmlDiacritics(String original)
- Create a string where diacritic characters in the input
are changed to their appropriate ASCII/Latin1 characters.
- Parameters:
original
- the input text string with possible diacritics..- Returns:
- a String of text with proper diacritic characters substituted.