org.marc4j.util
Class Iso6937ToUnicode

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

public class Iso6937ToUnicode
extends Object
implements CharacterConverter

A utility to convert ISO 6937 data to UCS/Unicode.

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

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

Constructor Detail

Iso6937ToUnicode

public Iso6937ToUnicode()
Method Detail

convert

public String convert(String s)

Converts ISO 6937 data to UCS/Unicode.

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

convert

public char[] convert(char[] data)

Converts ISO 6937 data to UCS/Unicode.

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


Copyright 2001-2003 Bas Peters. All Rights Reserved.