/[classpath]/classpath/gnu/java/nio/charset/US_ASCII.java
ViewVC logotype

Diff of /classpath/gnu/java/nio/charset/US_ASCII.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by gnu_andrew, Sun Jan 16 02:14:45 2005 UTC revision 1.2.2.2 by gnu_andrew, Fri Feb 4 09:44:44 2005 UTC
# Line 1  Line 1 
1  /* US_ASCII.java --  /* US_ASCII.java --
2     Copyright (C) 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 53  final class US_ASCII extends Charset Line 53  final class US_ASCII extends Charset
53  {  {
54    US_ASCII ()    US_ASCII ()
55    {    {
56      super ("US-ASCII", new String[]{"ISO646-US"});      /* Canonical charset name chosen according to:
57         * http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
58         */
59        super ("US-ASCII", new String[] {
60            /* These names are provided by
61             * http://www.iana.org/assignments/character-sets
62             */
63            "iso-ir-6",
64            "ANSI_X3.4-1986",
65            "ISO_646.irv:1991",
66            "ASCII",
67            "ISO646-US",
68            "ASCII",
69            "us",
70            "IBM367",
71            "cp367",
72            "csASCII",
73            /* These names are provided by
74             * http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL
75             */
76            "ANSI_X3.4-1968", "iso_646.irv:1983", "ascii7", "646",
77            "windows-20127"
78            });
79    }    }
80    
81    public boolean contains (Charset cs)    public boolean contains (Charset cs)

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26