java.lang.Cloneable
, WhiteSpaceFilter
CollapseWhiteSpaceFilter
public class PreserveBreaksWhiteSpaceFilter extends java.lang.Object implements WhiteSpaceFilter
STRIP_WHITESPACE
Constructor | Description |
---|---|
PreserveBreaksWhiteSpaceFilter() |
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 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
java.lang.CloneNotSupportedException