1:
2:
3:
10:
11: package ;
12: import ;
13: import ;
14:
15:
20:
21: public class Input_iconv extends BytesToUnicode
22: {
23: public Input_iconv (String encoding) throws UnsupportedEncodingException
24: {
25: this.encoding = encoding;
26: this.handle = null;
27: init (encoding);
28: }
29:
30: public String getName() { return encoding; }
31:
32: public native void finalize ();
33: private native void init (String encoding)
34: throws UnsupportedEncodingException;
35: public native int read (char[] outbuffer, int outpos, int count);
36: public native void done ();
37:
38:
39: private String encoding;
40:
41:
42: private RawData handle;
43: }