summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/convert/Input_SJIS.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/gcj/convert/Input_SJIS.java')
-rw-r--r--libjava/gnu/gcj/convert/Input_SJIS.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/convert/Input_SJIS.java b/libjava/gnu/gcj/convert/Input_SJIS.java
new file mode 100644
index 000000000..466032272
--- /dev/null
+++ b/libjava/gnu/gcj/convert/Input_SJIS.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 1999 Free Software Foundation
+
+ 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 SJIS (Shift JIS, used on Japanese MS-Windows) to Unicode.
+ * @author Per Bothner <bothner@cygnus.com>
+ * @date April 1999.
+ */
+
+public class Input_SJIS extends BytesToUnicode
+{
+ public String getName() { return "SJIS"; }
+
+ public native int read (char[] outbuffer, int outpos, int count);
+
+ int first_byte;
+}