org.marc4j.converter.impl
Class UnicodeToIso5426

java.lang.Object
  extended by org.marc4j.converter.CharConverter
      extended by org.marc4j.converter.impl.UnicodeToIso5426

public class UnicodeToIso5426
extends CharConverter

A utility to convert UCS/Unicode data to UNIMARC (ISO 5426 charset).

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

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

Constructor Detail

UnicodeToIso5426

public UnicodeToIso5426()
Method Detail

convert

public String convert(char[] data)

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

A question mark (0x3F) is returned if there is no match.

Specified by:
convert in class CharConverter
Parameters:
data - - the UCS/Unicode data in an array of char
Returns:
String- the UNIMARC (ISO 5426 charset) data


Copyright © 2002-2006 Bas Peters. All Rights Reserved.