diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1999-04-16 10:25:04 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1999-04-16 10:25:04 -0700 |
commit | a858c97cd4fd482c7ec5a631cf9250d2c03ca2ff (patch) | |
tree | ff5ccb505238e59a43e08610e41e18ec05c5cb9d /libjava/gnu/gcj/convert/Output_EUCJIS.java | |
parent | 90d4e719d36e45ea6216fb5e3bb19042d4839d39 (diff) | |
download | gcc-a858c97cd4fd482c7ec5a631cf9250d2c03ca2ff.zip gcc-a858c97cd4fd482c7ec5a631cf9250d2c03ca2ff.tar.gz gcc-a858c97cd4fd482c7ec5a631cf9250d2c03ca2ff.tar.bz2 |
JIS0201.h: New file, generated from Unicode table.
8
* 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.
From-SVN: r26499
Diffstat (limited to 'libjava/gnu/gcj/convert/Output_EUCJIS.java')
-rw-r--r-- | libjava/gnu/gcj/convert/Output_EUCJIS.java | 27 |
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; +} |