From 67419f0f521c23cc5acf82eb02da985d34fef7ea Mon Sep 17 00:00:00 2001 From: bothner Date: Fri, 16 Apr 1999 17:25:04 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26499 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gnu/gcj/convert/Output_EUCJIS.java | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 libjava/gnu/gcj/convert/Output_EUCJIS.java (limited to 'libjava/gnu') diff --git a/libjava/gnu/gcj/convert/Output_EUCJIS.java b/libjava/gnu/gcj/convert/Output_EUCJIS.java new file mode 100644 index 00000000000..f094ffea160 --- /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 + * @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; +} -- cgit v1.2.3