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 LoggingResult extends Object implements BufferResult
| Modifier | Constructor and Description |
|---|---|
protected |
LoggingResult(BufferResult wrapped,
Writer log) |
| Modifier and Type | Method and Description |
|---|---|
long |
getId() |
long |
getLength() |
boolean |
isFastToString() |
String |
toString() |
LoggingResult |
trim()
Trims the contents of this result, returning the instance that represents this result trimmed.
|
void |
writeTo(Encoder encoder,
Writer out) |
void |
writeTo(Encoder encoder,
Writer out,
long off,
long len) |
void |
writeTo(Writer out) |
void |
writeTo(Writer out,
long off,
long len) |
protected LoggingResult(BufferResult wrapped, Writer log) throws IOException
IOExceptionpublic long getId()
public long getLength()
throws IOException
getLength in interface WritableIOExceptionpublic boolean isFastToString()
isFastToString in interface Writablepublic String toString()
public void writeTo(Writer out) throws IOException
writeTo in interface WritableIOExceptionpublic void writeTo(Writer out, long off, long len) throws IOException
writeTo in interface WritableIOExceptionpublic void writeTo(Encoder encoder, Writer out) throws IOException
writeTo in interface WritableIOExceptionpublic void writeTo(Encoder encoder, Writer out, long off, long len) throws IOException
writeTo in interface WritableIOExceptionpublic LoggingResult trim() throws IOException
BufferResulttrim in interface BufferResultIOExceptionCopyright © 2010–2019 AO Industries, Inc.. All rights reserved.