diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-16 17:25:08 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-16 17:25:08 +0000 |
commit | abcb7f6e0012f9653e5487b91ff4f52dd7a88481 (patch) | |
tree | cddd6c89fd51beb6c0917d09795fe8ba7e6fab1e /libjava/gnu/gcj/convert/Output_SJIS.java | |
parent | 491d315e7eb1b661167101a35a5586e0b3034818 (diff) | |
download | gcc-abcb7f6e0012f9653e5487b91ff4f52dd7a88481.tar.gz |
�
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/gcj/convert/Output_SJIS.java')
-rw-r--r-- | libjava/gnu/gcj/convert/Output_SJIS.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/convert/Output_SJIS.java b/libjava/gnu/gcj/convert/Output_SJIS.java new file mode 100644 index 00000000000..7fba4bc9eb1 --- /dev/null +++ b/libjava/gnu/gcj/convert/Output_SJIS.java @@ -0,0 +1,26 @@ +/* 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 SJIS (Shift JIS, used on Japanese MS-Windows). + * @author Per Bothner <bothner@cygnus.com> + * @date April 1999. + */ + +public class Output_SJIS extends UnicodeToBytes +{ + public String getName() { return "SJIS"; } + + public native int write (char[] inbuffer, int inpos, int inlength); + + public native int write (String str, int inpos, int inlength, char[] work); + + int pending = -1; +} |