java.lang.Cloneable
, WhiteSpaceFilter
public class DiscardWhiteSpaceFilter extends java.lang.Object implements WhiteSpaceFilter
Modifier and Type | Field | Description |
---|---|---|
static char |
ZERO_WIDTH |
STRIP_WHITESPACE
Constructor | Description |
---|---|
DiscardWhiteSpaceFilter() |
Modifier and Type | Method | 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 WhiteSpaceFilter
public int filter(int codepoint)
filter
in interface WhiteSpaceFilter
codepoint
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface WhiteSpaceFilter
clone
in class java.lang.Object
java.lang.CloneNotSupportedException