Package org.marc4j.converter.impl

Examples of org.marc4j.converter.impl.Iso5426ToUnicode


        return(dataElement);
    }
   
    private String getUnimarcConversion(byte[] bytes)
    {
        if (converterUnimarc == null) converterUnimarc = new Iso5426ToUnicode();
        String dataElement = converterUnimarc.convert(bytes);
        dataElement = dataElement.replaceAll("\u0088", "");
        dataElement = dataElement.replaceAll("\u0089", "");
//        for ( int i = 0 ; i < bytes.length; i++)
//        {
View Full Code Here


        if (convert != null) {
            CharConverter charconv = null;
            if (Constants.MARC_8_ENCODING.equals(convert))
                charconv = new AnselToUnicode();
            else if (Constants.ISO5426_ENCODING.equals(convert))
                charconv = new Iso5426ToUnicode();
            else if (Constants.ISO6937_ENCODING.equals(convert))
                charconv = new Iso6937ToUnicode();
            else {
                System.err.println("Unknown character set");
                System.exit(1);
View Full Code Here

TOP

Related Classes of org.marc4j.converter.impl.Iso5426ToUnicode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.