public final class FormatStringBuffer
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
FormatStringBuffer |
append(byte b) |
Appends the byte argument to this string buffer.
|
FormatStringBuffer |
append(byte[] b) |
Appends the byte[] argument to this string buffer.
|
FormatStringBuffer |
append(byte[] b,
int off,
int len) |
|
FormatStringBuffer |
append(char ch) |
Appends the chars assuming single bytes.
|
FormatStringBuffer |
append(int i) |
|
FormatStringBuffer |
append(long l) |
|
FormatStringBuffer |
append(java.lang.String s) |
Appends the string argument to this string buffer.
|
FormatStringBuffer |
appendDate() |
|
FormatStringBuffer |
appendQuotedValueOrDash(java.lang.String value) |
Appends the string argument with quotes or a dash to the string buffer.
|
FormatStringBuffer |
appendSpaceDashSpace() |
Appends " - "
|
FormatStringBuffer |
appendStatusCode(int number) |
Appends the Staus code to the string buffer.
|
FormatStringBuffer |
appendTime() |
|
FormatStringBuffer |
appendTwoDigits(int number) |
Appends two digits to the string buffer.
|
FormatStringBuffer |
appendValueOrDash(java.lang.String value) |
Appends the string argument or a dash if null to the string buffer.
|
FormatStringBuffer |
appendValueOrEmpty(java.lang.String val) |
Appends the string representation of the string argument or nothing if null
to this string buffer.
|
FormatStringBuffer |
appendYear(int yearMinus1900) |
|
byte[] |
getBytes() |
|
void |
setLogMillis(boolean logMs) |
|
void |
setUseGMT(boolean useGMT) |
|
int |
size() |
public void setUseGMT(boolean useGMT)
public void setLogMillis(boolean logMs)
public FormatStringBuffer append(java.lang.String s)
public FormatStringBuffer append(int i)
public FormatStringBuffer append(long l)
public FormatStringBuffer append(byte b)
public FormatStringBuffer append(byte[] b)
public FormatStringBuffer append(byte[] b, int off, int len)
public FormatStringBuffer appendValueOrEmpty(java.lang.String val)
public FormatStringBuffer appendTwoDigits(int number)
public FormatStringBuffer appendValueOrDash(java.lang.String value)
public FormatStringBuffer append(char ch)
public FormatStringBuffer appendSpaceDashSpace()
public FormatStringBuffer appendQuotedValueOrDash(java.lang.String value)
public FormatStringBuffer appendStatusCode(int number)
public byte[] getBytes()
public int size()
public FormatStringBuffer appendYear(int yearMinus1900)
public FormatStringBuffer appendDate()
public FormatStringBuffer appendTime()