Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.