public class DiscardWhiteSpaceFilter extends Object implements WhiteSpaceFilter
| Modifier and Type | Field and Description |
|---|---|
static char |
ZERO_WIDTH |
STRIP_WHITESPACE| Constructor and Description |
|---|
DiscardWhiteSpaceFilter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
filter(int codepoint)
Filters the whitespaces.
|
void |
reset()
Reset the filter to the same state as if the filter had been constructed
but not used yet.
|
public static final char ZERO_WIDTH
public void reset()
reset in interface WhiteSpaceFilterpublic int filter(int codepoint)
filter in interface WhiteSpaceFiltercodepoint - public Object clone() throws CloneNotSupportedException
clone in interface WhiteSpaceFilterclone in class ObjectCloneNotSupportedException