public class PreserveBreaksWhiteSpaceFilter extends Object implements WhiteSpaceFilter
STRIP_WHITESPACE
Constructor and Description |
---|
PreserveBreaksWhiteSpaceFilter() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
filter(int codepoint)
Filters the whitespaces.
|
protected boolean |
isLinebreak(int codepoint) |
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
- protected boolean isLinebreak(int codepoint)
public Object clone() throws CloneNotSupportedException
clone
in interface WhiteSpaceFilter
clone
in class Object
CloneNotSupportedException
Copyright © 2019 Hitachi Vantara. All rights reserved.