src/jdk.charsets/share/classes/sun/nio/cs/ext/GB18030.java.template
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -24,11 +24,11 @@
*/
/*
*/
-package sun.nio.cs.ext;
+package $PACKAGE$;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
@@ -42,11 +42,11 @@
private static final int GB18030_SINGLE_BYTE = 1;
private static final int GB18030_DOUBLE_BYTE = 2;
private static final int GB18030_FOUR_BYTE = 3;
public GB18030() {
- super("GB18030", ExtendedCharsets.aliasesFor("GB18030"));
+ super("GB18030", $ALIASES$);
}
public boolean contains(Charset cs) {
return ((cs.name().equals("US-ASCII"))
|| (cs.name().equals("GBK"))