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()
Gets the number of characters in this view of the buffer.
|
boolean |
isFastToString() |
String |
toString() |
LoggingResult |
trim()
Trims the contents of this result, returning the instance that represents this result trimmed.
|
void |
writeTo(com.aoindustries.io.Encoder encoder,
Writer out) |
void |
writeTo(com.aoindustries.io.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
BufferResultgetLength in interface BufferResultIOExceptionpublic boolean isFastToString()
isFastToString in interface com.aoindustries.io.Writablepublic String toString()
public void writeTo(Writer out) throws IOException
writeTo in interface com.aoindustries.io.WritableIOExceptionpublic void writeTo(Writer out, long off, long len) throws IOException
writeTo in interface com.aoindustries.io.WritableIOExceptionpublic void writeTo(com.aoindustries.io.Encoder encoder,
Writer out)
throws IOException
writeTo in interface com.aoindustries.io.WritableIOExceptionpublic void writeTo(com.aoindustries.io.Encoder encoder,
Writer out,
long off,
long len)
throws IOException
writeTo in interface com.aoindustries.io.WritableIOExceptionpublic LoggingResult trim() throws IOException
BufferResulttrim in interface BufferResultIOExceptionCopyright © 2016. All rights reserved.