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 WhiteSpaceFilter
public int filter(int codepoint)
filter
in interface WhiteSpaceFilter
codepoint
- public Object clone() throws CloneNotSupportedException
clone
in interface WhiteSpaceFilter
clone
in class Object
CloneNotSupportedException
Copyright © 2017 Hitachi Vantara. All rights reserved.