jdk/src/java.base/share/classes/sun/nio/cs/ISO_8859_1.java
changeset 45894 995421c69f66
parent 42679 25fec8839946
child 47026 94c45ad89b9c
equal deleted inserted replaced
45893:2678b360eecd 45894:995421c69f66
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2017, Oracle and/or its affiliates. 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.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    40     extends Charset
    40     extends Charset
    41     implements HistoricallyNamedCharset
    41     implements HistoricallyNamedCharset
    42 {
    42 {
    43 
    43 
    44     public ISO_8859_1() {
    44     public ISO_8859_1() {
    45         super("ISO-8859-1", StandardCharsets.aliases_ISO_8859_1);
    45         super(StandardCharsets.ISO_8859_1, StandardCharsets.aliases_ISO_8859_1);
    46     }
    46     }
    47 
    47 
    48     public String historicalName() {
    48     public String historicalName() {
    49         return "ISO8859_1";
    49         return "ISO8859_1";
    50     }
    50     }