Package | Description |
---|---|
javolution.text |
Text handling package.
|
Modifier and Type | Method and Description |
---|---|
TextBuilder |
TextBuilder.append(boolean b)
Appends the textual representation of the specified
boolean
argument. |
TextBuilder |
TextBuilder.append(char c)
Appends the specified character.
|
TextBuilder |
TextBuilder.append(char[] chars)
Appends the characters from the char array argument.
|
TextBuilder |
TextBuilder.append(char[] chars,
int offset,
int length)
Appends the characters from a subarray of the char array argument.
|
TextBuilder |
TextBuilder.append(CharSequence csq)
Appends the specified character sequence.
|
TextBuilder |
TextBuilder.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence.
|
TextBuilder |
TextBuilder.append(double d)
Appends the textual representation of the specified
double ;
the number of digits is 17 or 16 when the 16 digits representation
can be parsed back to the same double (mimic the standard
library formatting). |
TextBuilder |
TextBuilder.append(double d,
int digits,
boolean scientific,
boolean showZero)
Appends the textual representation of the specified
double
according to the specified formatting arguments. |
TextBuilder |
TextBuilder.append(float f)
Appends the textual representation of the specified
float . |
TextBuilder |
TextBuilder.append(int i)
Appends the decimal representation of the specified
int
argument. |
TextBuilder |
TextBuilder.append(int i,
int radix)
Appends the radix representation of the specified
int
argument. |
TextBuilder |
TextBuilder.append(long l)
Appends the decimal representation of the specified
long
argument. |
TextBuilder |
TextBuilder.append(long l,
int radix)
Appends the radix representation of the specified
long
argument. |
TextBuilder |
TextBuilder.append(Object obj)
Appends the textual representation of the specified object.
|
TextBuilder |
TextBuilder.append(String str)
Appends the specified string to this text builder.
|
TextBuilder |
TextBuilder.append(String str,
int start,
int end)
Appends a subsequence of the specified string.
|
TextBuilder |
TextBuilder.append(Text txt)
Appends the specified text to this text builder.
|
TextBuilder |
TextBuilder.append(Text txt,
int start,
int end)
Appends a subsequence of the specified text.
|
TextBuilder |
TextBuilder.clear()
Removes all the characters of this text builder
(equivalent to
this.delete(start, this.length()) ). |
TextBuilder |
TextBuilder.delete(int start,
int end)
Removes the characters between the specified indices.
|
TextBuilder |
TextFormat.format(T obj,
TextBuilder dest)
Convenience method to format the specified object to a
TextBuilder ;
unlike the abstract format method, this method does not throw IOException . |
TextBuilder |
TextBuilder.insert(int index,
CharSequence csq)
Inserts the specified character sequence at the specified location.
|
TextBuilder |
TextBuilder.reverse()
Reverses this character sequence.
|
Modifier and Type | Method and Description |
---|---|
TextBuilder |
TextFormat.format(T obj,
TextBuilder dest)
Convenience method to format the specified object to a
TextBuilder ;
unlike the abstract format method, this method does not throw IOException . |
Copyright © 2005-2013 Javolution. All Rights Reserved.