Constructor and Description |
---|
CharSink(CharConsumer consumer) |
CharSink(java.nio.charset.Charset charset,
CharConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
setCharset(java.nio.charset.Charset charset) |
void |
update(byte c) |
void |
update(byte[] data,
int off,
int len) |
public CharSink(java.nio.charset.Charset charset, CharConsumer consumer)
public CharSink(CharConsumer consumer)
public void setCharset(java.nio.charset.Charset charset)
public void update(byte c) throws CodecException
update
in interface Codec
CodecException
public void update(byte[] data, int off, int len) throws CodecException
update
in interface Codec
CodecException
public void flush() throws CodecException
flush
in interface Codec
CodecException