| Constructor and Description |
|---|
Strings() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
copyStringToChars(String src,
char[] dst,
int dstBegin,
int dstEnd)
Copies characters from the string into the character array.
|
abstract void |
write(char[] c,
int len)
Log a message.
|
abstract void |
writeThreadId(char[] c,
int len)
Log a thread identifier and a message.
|
public Strings()
public abstract void write(char[] c, int len)
c - character array with message starting at index 0len - number of characters in messagepublic abstract void writeThreadId(char[] c, int len)
c - character array with message starting at index 0len - number of characters in messagepublic abstract int copyStringToChars(String src, char[] dst, int dstBegin, int dstEnd)
TODO: There are special memory management semantics here that someone should document.
src - the source stringdst - the destination arraydstBegin - the start offset in the destination arraydstEnd - the index after the last character in the
destination to copy to