| Package | Description |
|---|---|
| org.basex.index |
Database Index structures.
|
| org.basex.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexStats.print(TokenBuilder tb)
Prints the list to the specified token builder.
|
| Modifier and Type | Method and Description |
|---|---|
TokenBuilder |
TokenBuilder.add(byte[] b)
Adds a byte array to the token.
|
TokenBuilder |
TokenBuilder.add(byte[] b,
int s,
int e)
Adds a partial byte array to the token.
|
TokenBuilder |
TokenBuilder.add(int ch)
Adds the specified UTF8 character.
|
TokenBuilder |
TokenBuilder.add(java.lang.String s)
Adds a string to the token.
|
TokenBuilder |
TokenBuilder.addByte(byte b)
Adds a byte to the token.
|
TokenBuilder |
TokenBuilder.addExt(java.lang.Object str,
java.lang.Object... ext)
Adds the string representation of an object:
objects of type
Throwable are converted to a string representation
via Util.message(java.lang.Throwable).
objects of type Class are converted via Util.name(Class).
null references are replaced by the string "null".
byte arrays are directly inserted as tokens.
for all other typed, Object.toString() is called.
The specified string may contain "%" characters as place holders. |
TokenBuilder |
TokenBuilder.addLong(long i)
Adds a number to the token.
|
TokenBuilder |
TokenBuilder.addSep(java.lang.Object[] s,
java.lang.String sep)
Adds multiple strings to the token, separated by the specified string.
|
TokenBuilder |
TokenBuilder.bold()
Adds a bold flag.
|
TokenBuilder |
TokenBuilder.hline()
Adds a half new line.
|
TokenBuilder |
TokenBuilder.insert(int pos,
int ch)
Inserts the specified UTF8 character.
|
TokenBuilder |
TokenBuilder.nline()
Adds a new line.
|
TokenBuilder |
TokenBuilder.norm()
Adds a norm flag.
|
TokenBuilder |
TokenBuilder.reset()
Resets the token buffer.
|
TokenBuilder |
TokenBuilder.trim()
Trims leading and trailing whitespaces.
|