final class WordDelimiterFilter.WordDelimiterConcatenation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.StringBuilder |
buffer |
(package private) int |
endOffset |
(package private) int |
startOffset |
(package private) int |
subwordCount |
(package private) int |
type |
Constructor and Description |
---|
WordDelimiterConcatenation() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
append(char[] text,
int offset,
int length)
Appends the given text of the given length, to the concetenation at the given offset
|
(package private) void |
clear()
Clears the concatenation and resets its state
|
(package private) boolean |
isEmpty()
Determines if the concatenation is empty
|
(package private) void |
write()
Writes the concatenation to the attributes
|
(package private) void |
writeAndClear()
Convenience method for the common scenario of having to write the concetenation and then clearing its state
|
final java.lang.StringBuilder buffer
int startOffset
int endOffset
int type
int subwordCount
void append(char[] text, int offset, int length)
text
- Text to appendoffset
- Offset in the concetenation to add the textlength
- Length of the text to appendvoid write()
boolean isEmpty()
true
if the concatenation is empty, false
otherwisevoid clear()
void writeAndClear()