ByteToCharCp1025.java revision 2362
942N/A/*
942N/A * Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved.
942N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
942N/A *
942N/A * This code is free software; you can redistribute it and/or modify it
942N/A * under the terms of the GNU General Public License version 2 only, as
942N/A * published by the Free Software Foundation. Oracle designates this
942N/A * particular file as subject to the "Classpath" exception as provided
942N/A * by Oracle in the LICENSE file that accompanied this code.
942N/A *
942N/A * This code is distributed in the hope that it will be useful, but WITHOUT
942N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
942N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
942N/A * version 2 for more details (a copy is included in the LICENSE file that
942N/A * accompanied this code).
942N/A *
942N/A * You should have received a copy of the GNU General Public License version
942N/A * 2 along with this work; if not, write to the Free Software Foundation,
942N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
942N/A *
942N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
942N/A * or visit www.oracle.com if you need additional information or have any
942N/A * questions.
942N/A */
942N/A
942N/A
942N/Apackage sun.io;
942N/A
942N/Aimport sun.nio.cs.ext.IBM1025;
942N/A
/**
* A table to convert to Cp1025 to Unicode
*
* @author ConverterGenerator tool
*/
public class ByteToCharCp1025 extends ByteToCharSingleByte {
private final static IBM1025 nioCoder = new IBM1025();
public String getCharacterEncoding() {
return "Cp1025";
}
public ByteToCharCp1025() {
super.byteToCharTable = nioCoder.getDecoderSingleByteMappings();
}
}