aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjava/gnu/gcj/convert/Output_EUCJIS.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/convert/Output_EUCJIS.java b/libjava/gnu/gcj/convert/Output_EUCJIS.java
new file mode 100644
index 0000000..f094ffe
--- /dev/null
+++ b/libjava/gnu/gcj/convert/Output_EUCJIS.java
@@ -0,0 +1,27 @@
+/* Copyright (C) 1999 Cygnus Solutions
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package gnu.gcj.convert;
+
+/**
+ * Convert Unicode to EUCJIS (Extended Unix Code for Japan).
+ * @author Per Bothner <bothner@cygnus.com>
+ * @date April 1999.
+ */
+
+public class Output_EUCJIS extends UnicodeToBytes
+{
+ public String getName() { return "EUCJIS"; }
+
+ public native int write (char[] inbuffer, int inpos, int inlength);
+
+ public native int write (String str, int inpos, int inlength, char[] work);
+
+ int pending1 = -1;
+ int pending2;
+}