ca.uottawa.balie
Class LigatureLookup

java.lang.Object
  extended by ca.uottawa.balie.LigatureLookup

public class LigatureLookup
extends java.lang.Object

Wraps around a hashtable that contains a list of ligatures. A ligature is a char like 'oe' (often from pdf files) that represents two single char ('o' and 'e')

Author:
nadeaud

Constructor Summary
LigatureLookup()
          Fill table at construction time.
 
Method Summary
 java.lang.String GetEquivalence(java.lang.String pi_Char)
          Gets the string equivalence for a ligature char.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LigatureLookup

public LigatureLookup()
Fill table at construction time.

Method Detail

GetEquivalence

public java.lang.String GetEquivalence(java.lang.String pi_Char)
Gets the string equivalence for a ligature char.

Parameters:
pi_Char - The ligature char (String of lenght 1)
Returns:
The equivalent String (lenght 2,3 or more)