[kaffe] CVS kaffe (kaz): libraries/javalib/kaffe/io/ConverterAlias.java:

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sun Jan 4 01:32:02 2004


PatchSet 4277 
Date: 2004/01/04 09:28:53
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2004-01-03  Ito Kazumitsu  <kaz@maczuka.gcd.org>

        * libraries/javalib/kaffe/io/ConverterAlias.java:
        Changed "EUC_JP" to "EUC-JP" so that iconv is directly called.

        * libraries/javalib/kaffe/io/ByteToCharEUC_JP.java,
        libraries/javalib/kaffe/io/CharToByteEUC_JP.java:
        Removed.

Members: 
	ChangeLog:1.1864->1.1865 
	libraries/javalib/kaffe/io/ByteToCharEUC_JP.java:1.3->1.4(DEAD) 
	libraries/javalib/kaffe/io/CharToByteEUC_JP.java:1.3->1.4(DEAD) 
	libraries/javalib/kaffe/io/ConverterAlias.java:1.16->1.17 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1864 kaffe/ChangeLog:1.1865
--- kaffe/ChangeLog:1.1864	Sat Jan  3 04:20:17 2004
+++ kaffe/ChangeLog	Sun Jan  4 09:28:53 2004
@@ -1,3 +1,12 @@
+2004-01-03  Ito Kazumitsu  <kaz@maczuka.gcd.org>
+
+	* libraries/javalib/kaffe/io/ConverterAlias.java:
+	Changed "EUC_JP" to "EUC-JP" so that iconv is directly called.
+
+	* libraries/javalib/kaffe/io/ByteToCharEUC_JP.java,
+	libraries/javalib/kaffe/io/CharToByteEUC_JP.java:
+	Removed.
+
 2004-01-03  Dalibor Topic <robilad@kaffe.org>
 
 	Resynced with GNU Classpath.
===================================================================
Checking out kaffe/libraries/javalib/kaffe/io/ByteToCharEUC_JP.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/kaffe/io/Attic/ByteToCharEUC_JP.java,v
VERS: 1.3
***************
--- kaffe/libraries/javalib/kaffe/io/ByteToCharEUC_JP.java	Sun Jan  4 09:31:00 2004
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,30 +0,0 @@
-/*
- * Java core library component.
- *
- * Copyright (c) 2000
- *      Transvirtual Technologies, Inc.  All rights reserved.
- *
- * See the file "license.terms" for information on usage and redistribution
- * of this file.
- *
- * Byte to Char converter for EUC-JP encoding.
- * See also class EncodeEUC_JP in developers directory.
- *
- * @author Ito Kazumitsu <kaz@maczuka.gcd.org>
- */
-
-/*
- * This is only a wrapper of ByteToCharIconv for EUC-JP.
- * The name "EUC-JP" cannot be used within a Java class name.
- * So we use "EUC_JP" for "EUC-JP".
- */ 
-
-package kaffe.io;
-
-public class ByteToCharEUC_JP extends ByteToCharIconv {
-
-    public ByteToCharEUC_JP() throws java.io.UnsupportedEncodingException {
-        super("EUC-JP");
-    }
-
-}
===================================================================
Checking out kaffe/libraries/javalib/kaffe/io/CharToByteEUC_JP.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/kaffe/io/Attic/CharToByteEUC_JP.java,v
VERS: 1.3
***************
--- kaffe/libraries/javalib/kaffe/io/CharToByteEUC_JP.java	Sun Jan  4 09:31:00 2004
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,24 +0,0 @@
-/*
- * Java core library component.
- *
- * Copyright (c) 2000
- *      Transvirtual Technologies, Inc.  All rights reserved.
- *
- * See the file "license.terms" for information on usage and redistribution
- * of this file.
- *
- * Char to Byte converter for EUC-JP encoding.
- *
- * @author Ito Kazumitsu <kaz@maczuka.gcd.org>
- *
- */
-
-package kaffe.io;
-
-public class CharToByteEUC_JP extends CharToByteIconv {
-
-    public CharToByteEUC_JP() throws java.io.UnsupportedEncodingException {
-        super("EUC-JP");
-    }
-
-}
Index: kaffe/libraries/javalib/kaffe/io/ConverterAlias.java
diff -u kaffe/libraries/javalib/kaffe/io/ConverterAlias.java:1.16 kaffe/libraries/javalib/kaffe/io/ConverterAlias.java:1.17
--- kaffe/libraries/javalib/kaffe/io/ConverterAlias.java:1.16	Mon Dec 29 23:59:02 2003
+++ kaffe/libraries/javalib/kaffe/io/ConverterAlias.java	Sun Jan  4 09:28:55 2004
@@ -110,10 +110,10 @@
 	alias.put("KOI8-R",		"KOI8_R");
 	alias.put("CSKOI8R",		"KOI8_R");
 
-	alias.put("EUCJP",              "EUC_JP");
-	alias.put("EUC-JP",             "EUC_JP");
-	alias.put("EUCJIS",             "EUC_JP");
-	alias.put("CSEUCPKDFMTJAPANESE","EUC_JP");
+	alias.put("EUCJP",              "EUC-JP");
+	alias.put("EUC_JP",             "EUC-JP");
+	alias.put("EUCJIS",             "EUC-JP");
+	alias.put("CSEUCPKDFMTJAPANESE","EUC-JP");
 
 	alias.put("US-ASCII",		"ASCII");
 	alias.put("ANSI_X3.4-1968",	"ASCII");