| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgnu.gcj.convert.IOConvertergnu.gcj.convert.BytesToUnicodegnu.gcj.convert.BytesToCharsetAdaptorpublic class BytesToCharsetAdaptorextends BytesToUnicodeCharset to be used
as a BytesToUnicode converter.
Field Summary |
Fields inherited from class gnu.gcj.convert.BytesToUnicode | |
inbuffer, inlength, inpos | |
Fields inherited from class gnu.gcj.convert.IOConverter | |
iconv_byte_swap | |
Constructor Summary | |
| |
| |
Method Summary | |
void |
|
String |
|
int |
|
Methods inherited from class gnu.gcj.convert.BytesToUnicode | |
done, getDecoder, getDefaultDecoder, getName, read, setInput | |
Methods inherited from class gnu.gcj.convert.IOConverter | |
canonicalize | |
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public BytesToCharsetAdaptor(Charset cs)
Create a new BytesToCharsetAdaptor for the given Charset.
- Parameters:
cs- the Charset.
public BytesToCharsetAdaptor(CharsetDecoder dec)
Create a new BytesToCharsetAdaptor for the given CharsetDecoder.
- Parameters:
dec- the CharsetDecoder.
public String getName()
Return the decoder's name. The backing Charset's name is returned.
- Overrides:
- getName in interface BytesToUnicode
- Returns:
- The name.
public int read(char[] outbuffer, int outpos, int count)
- Overrides:
- read in interface BytesToUnicode