Open SiteSearch 4.1.1
Final

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

Field Summary
static int ACUTE
           
static int ANGSTROM
           
static int CEDILLA
           
static int CIRCUMFLEX
           
static int ESCAPE
           
static int GRAVE
           
static int HACEK
           
static int[] queryDiacriticsTable
          Filter diacritics within a Query.
static int TILDE
           
static int UMLAUT
           
 
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
 

Field Detail

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.
Constructor Detail

Diacritic

public Diacritic()
Constructs a Diacritic object.
Method Detail

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.

Open SiteSearch 4.1.1
Final