public static class DefaultSitemeshBuffer.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private char[] |
buffer |
private java.util.TreeMap<java.lang.Integer,SitemeshBufferFragment> |
fragments |
private int |
length |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
private |
Builder(DefaultSitemeshBuffer buffer) |
private |
Builder(SitemeshBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
SitemeshBuffer |
build() |
DefaultSitemeshBuffer.Builder |
insert(int position,
SitemeshBufferFragment fragment) |
DefaultSitemeshBuffer.Builder |
setBuffer(char[] buffer) |
DefaultSitemeshBuffer.Builder |
setLength(int length) |
private char[] buffer
private int length
private final java.util.TreeMap<java.lang.Integer,SitemeshBufferFragment> fragments
private Builder()
private Builder(DefaultSitemeshBuffer buffer)
private Builder(SitemeshBuffer buffer)
public DefaultSitemeshBuffer.Builder setBuffer(char[] buffer)
public DefaultSitemeshBuffer.Builder setLength(int length)
public DefaultSitemeshBuffer.Builder insert(int position, SitemeshBufferFragment fragment)
public SitemeshBuffer build()