org.marc4j.util
Class Iso5426ToUnicode

java.lang.Object
  |
  +--org.marc4j.util.Iso5426ToUnicode
All Implemented Interfaces:
CharacterConverter

public class Iso5426ToUnicode
extends Object
implements CharacterConverter

A utility to convert UNIMARC data to UCS/Unicode.

Version:
$Revision: 1.4 $
Author:
Bas Peters
, Yves Pratter

Constructor Summary
Iso5426ToUnicode()
           
 
Method Summary
 char[] convert(char[] data)
          Converts UNIMARC data to UCS/Unicode.
 String convert(String s)
          Converts UNIMARC (ISO 5426 charset) data to UCS/Unicode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Iso5426ToUnicode

public Iso5426ToUnicode()
Method Detail

convert

public String convert(String s)

Converts UNIMARC (ISO 5426 charset) data to UCS/Unicode.

Specified by:
convert in interface CharacterConverter
Returns:
String - the UCS/Unicode data

convert

public char[] convert(char[] data)

Converts UNIMARC data to UCS/Unicode.

Specified by:
convert in interface CharacterConverter
Parameters:
data - the UNIMARC data
Returns:
char[] - the UCS/Unicode data


Copyright 2001-2003 Bas Peters. All Rights Reserved.