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 SegmentedResult extends Object implements BufferResult
| Modifier | Constructor and Description |
|---|---|
protected |
SegmentedResult(byte[] segmentTypes,
Object[] segmentValues,
int[] segmentOffsets,
int[] segmentLengths,
long start,
int startSegmentIndex,
int startSegmentOffset,
int startSegmentLength,
long end,
int endSegmentIndex,
int endSegmentOffset,
int endSegmentLength) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
boolean |
isFastToString() |
String |
toString() |
BufferResult |
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 SegmentedResult(byte[] segmentTypes,
Object[] segmentValues,
int[] segmentOffsets,
int[] segmentLengths,
long start,
int startSegmentIndex,
int startSegmentOffset,
int startSegmentLength,
long end,
int endSegmentIndex,
int endSegmentOffset,
int endSegmentLength)
public 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 BufferResult trim() throws IOException
BufferResulttrim in interface BufferResultIOExceptionCopyright © 2010–2019 AO Industries, Inc.. All rights reserved.