|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.marc4j.util.AnselToUnicode
A utility to convert MARC-8 data to non-precomposed UCS/Unicode.
Field Summary | |
protected CodeTable |
ct
|
protected boolean |
loadedMultibyte
|
Constructor Summary | |
AnselToUnicode()
|
Method Summary | |
char[] |
convert(char[] data)
Converts MARC-8 data to UCS/Unicode. |
String |
convert(String data)
Converts MARC-8 data to UCS/Unicode. |
void |
loadMultibyte()
Loads the entire maping (including multibyte characters) from the Library of Congress. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CodeTable ct
protected boolean loadedMultibyte
Constructor Detail |
public AnselToUnicode()
Method Detail |
public void loadMultibyte()
Loads the entire maping (including multibyte characters) from the Library of Congress.
public String convert(String data)
Converts MARC-8 data to UCS/Unicode.
convert
in interface CharacterConverter
data
- the MARC-8 data
String
- the UCS/Unicode datapublic char[] convert(char[] data)
Converts MARC-8 data to UCS/Unicode.
convert
in interface CharacterConverter
data
- the MARC-8 data
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |