jdk/src/share/classes/sun/io/ByteToCharCp850.java
changeset 1713 f8b8bfa64fc1
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
1712:8664f15a755b 1713:f8b8bfa64fc1
     1 /*
     1 /*
     2  * Copyright 1996-2005 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1996-2002 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
    21  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    21  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    22  * CA 95054 USA or visit www.sun.com if you need additional information or
    22  * CA 95054 USA or visit www.sun.com if you need additional information or
    23  * have any questions.
    23  * have any questions.
    24  */
    24  */
    25 
    25 
    26 
       
    27 package sun.io;
    26 package sun.io;
    28 
    27 
    29 import sun.nio.cs.IBM850;
    28 import sun.nio.cs.IBM850;
    30 
    29 
    31 /**
    30 /**
    32  * A table to convert to Cp850 to Unicode
    31  * A table to convert to Cp850 to Unicode
    33  *
    32  *
    34  * @author  ConverterGenerator tool
    33  * @author  ConverterGenerator tool
       
    34  * @version >= JDK1.1.6
    35  */
    35  */
    36 
    36 
    37 public class ByteToCharCp850 extends ByteToCharSingleByte {
    37 public class ByteToCharCp850 extends ByteToCharSingleByte {
    38 
    38 
    39     public String getCharacterEncoding() {
    39     public String getCharacterEncoding() {
    40         return "Cp850";
    40         return "Cp850";
    41     }
    41     }
    42 
    42 
    43     public ByteToCharCp850() {
    43     public ByteToCharCp850() {
    44         super.byteToCharTable = IBM850.getDecoderSingleByteMappings();
    44         super.byteToCharTable = new IBM850().getDecoderSingleByteMappings();
    45     }
    45     }
    46 }
    46 }