2ba5f77454
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
27 lines
661 B
Java
27 lines
661 B
Java
/* 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 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;
|
|
}
|