public class FieldBuffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENCODING_UTF8
UTF-8 encoding.
|
Modifier | Constructor and Description |
---|---|
protected |
FieldBuffer()
don't allow creation of raw field buffers.
|
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.String data,
int seq)
append the text at this sequence number.
|
static FieldBuffer |
createFieldBuffer(VirtualDB layer,
java.lang.String encoding)
create a field buffer,
|
int |
getMaxSegment()
get the maximum segment.
|
java.lang.String |
toString()
Convert to a string.
|
public static final java.lang.String ENCODING_UTF8
public static FieldBuffer createFieldBuffer(VirtualDB layer, java.lang.String encoding)
layer
- the layerencoding
- the encodingpublic void append(java.lang.String data, int seq)
data
- The segment to appendseq
- the sequence@CheckReturnValue @Nonnull public java.lang.String toString()
toString
in class java.lang.Object
public int getMaxSegment()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.