public class DiscardWhiteSpaceFilter extends java.lang.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 |
|---|---|
java.lang.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 java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface WhiteSpaceFilterclone in class java.lang.Objectjava.lang.CloneNotSupportedException