Output buffering library.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact
public class SegmentedWriter extends BufferWriter
| Constructor and Description |
|---|
SegmentedWriter() |
| Modifier and Type | Method and Description |
|---|---|
SegmentedWriter |
append(char c) |
SegmentedWriter |
append(CharSequence csq) |
SegmentedWriter |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
long |
getLength()
Gets the number of characters in this buffer.
|
BufferResult |
getResult()
Gets the result from this buffer.
|
String |
toString()
Gets a short message (like type and length).
|
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(String str) |
void |
write(String str,
int off,
int len) |
public void write(int c)
throws ClosedChannelException
write in class WriterClosedChannelExceptionpublic void write(char[] cbuf)
throws ClosedChannelException
write in class WriterClosedChannelExceptionpublic void write(char[] cbuf,
int off,
int len)
throws ClosedChannelException
write in class WriterClosedChannelExceptionpublic void write(String str) throws ClosedChannelException
write in class WriterClosedChannelExceptionpublic void write(String str, int off, int len) throws ClosedChannelException
write in class WriterClosedChannelExceptionpublic SegmentedWriter append(CharSequence csq) throws ClosedChannelException
append in interface Appendableappend in class WriterClosedChannelExceptionpublic SegmentedWriter append(CharSequence csq, int start, int end) throws ClosedChannelException
append in interface Appendableappend in class WriterClosedChannelExceptionpublic SegmentedWriter append(char c) throws ClosedChannelException
append in interface Appendableappend in class WriterClosedChannelExceptionpublic void flush()
public void close()
public long getLength()
BufferWritergetLength in class BufferWriterpublic String toString()
BufferWritertoString in class BufferWriterTo get access to the buffered content.public BufferResult getResult() throws IllegalStateException
BufferWritergetResult in class BufferWriterIllegalStateException - if not closedCopyright © 2010–2019 AO Industries, Inc.. All rights reserved.