]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/gnu/gcj/convert/Output_iconv.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / gnu / gcj / convert / Output_iconv.java
diff --git a/libjava/gnu/gcj/convert/Output_iconv.java b/libjava/gnu/gcj/convert/Output_iconv.java
deleted file mode 100644 (file)
index aa071c0..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-// Output_iconv.java -- Java side of iconv() writer.
-
-/* Copyright (C) 2000, 2001  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;
-import gnu.gcj.RawData;
-import java.io.UnsupportedEncodingException;
-
-/**
- * Convert Unicode to bytes in some iconv-supported encoding.
- * @author Tom Tromey <tromey@redhat.com>
- * @date January 30, 2000
- */
-
-public class Output_iconv extends UnicodeToBytes
-{
-  public Output_iconv (String encoding) throws UnsupportedEncodingException
-  {
-    this.encoding = encoding;
-    this.handle = null;
-    init (encoding);
-  }
-
-  public String getName() { return encoding; }
-
-  public native void finalize ();
-  private native void init (String encoding)
-    throws UnsupportedEncodingException;
-  public native int write (char[] inbuffer, int inpos, int count);
-  public native void done ();
-
-  // The encoding we're using.
-  private String encoding;
-
-  // The iconv handle.
-  private RawData handle;
-}