public interface Encoder
| Modifier and Type | Method and Description |
|---|---|
Encoder |
append(char c,
Appendable out) |
Encoder |
append(CharSequence csq,
Appendable out) |
Encoder |
append(CharSequence csq,
int start,
int end,
Appendable out) |
void |
write(char[] cbuf,
int off,
int len,
Writer out) |
void |
write(char[] cbuf,
Writer out) |
void |
write(int c,
Writer out) |
void |
write(String str,
int off,
int len,
Writer out) |
void |
write(String str,
Writer out) |
void |
writePrefixTo(Appendable out)
This is called before any data is written.
|
void |
writeSuffixTo(Appendable out)
This is called when no more data will be written.
|
void writePrefixTo(Appendable out) throws IOException
IOExceptionvoid write(int c,
Writer out)
throws IOException
IOExceptionvoid write(char[] cbuf,
Writer out)
throws IOException
IOExceptionvoid write(char[] cbuf,
int off,
int len,
Writer out)
throws IOException
IOExceptionvoid write(String str, Writer out) throws IOException
IOExceptionvoid write(String str, int off, int len, Writer out) throws IOException
IOExceptionEncoder append(char c, Appendable out) throws IOException
IOExceptionEncoder append(CharSequence csq, Appendable out) throws IOException
IOExceptionEncoder append(CharSequence csq, int start, int end, Appendable out) throws IOException
IOExceptionvoid writeSuffixTo(Appendable out) throws IOException
out. It
should not, however, call flush on out itself. This is
to not interfere with any output buffering of out.IOExceptionCopyright © 2016. All rights reserved.