public class GZipStringBuilder extends Object implements Appendable
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
baos |
protected char[] |
charBuffer
Temporary buffer used to hold writes of strings and single characters
|
protected long |
count |
protected static int |
DEFAULT_BUFFER_LENGTH |
protected DeflaterOutputStream |
os |
| Constructor and Description |
|---|
GZipStringBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
GZipStringBuilder |
append(CharSequence s) |
Appendable |
append(CharSequence csq,
int start,
int end) |
protected GZipStringBuilder |
appendChars(int length,
blasd.apex.core.io.GZipStringBuilder.CopyChars copyChars) |
protected GZipStringBuilder |
appendStringBuilder(StringBuilder s) |
void |
clear()
Clear the content of this
StringBuilder |
byte[] |
copyInflatedByteArray() |
InputStream |
toInputStream() |
String |
toString() |
void |
writeTo(OutputStream out,
Charset charset) |
protected static final int DEFAULT_BUFFER_LENGTH
protected char[] charBuffer
protected ByteArrayOutputStream baos
protected DeflaterOutputStream os
protected long count
public GZipStringBuilder append(CharSequence s)
append in interface Appendableprotected GZipStringBuilder appendChars(int length, blasd.apex.core.io.GZipStringBuilder.CopyChars copyChars)
protected GZipStringBuilder appendStringBuilder(StringBuilder s)
public void writeTo(OutputStream out, Charset charset)
public InputStream toInputStream()
public byte[] copyInflatedByteArray()
public Appendable append(CharSequence csq, int start, int end)
append in interface Appendablepublic Appendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic void clear()
StringBuilderCopyright © 2014–2017 Pivotal Software, Inc.. All rights reserved.