public class SqueezeWhitespaceTransformer extends Object implements Transformer
\P{Z}
instead.Modifier and Type | Field and Description |
---|---|
protected static Pattern |
MULTIPLE_WHITESPACE |
Constructor and Description |
---|
SqueezeWhitespaceTransformer() |
protected static final Pattern MULTIPLE_WHITESPACE
public SqueezeWhitespaceTransformer()
public String transform(String s)
Transformer
s
into another String.transform
in interface Transformer
s
- The string to transformCopyright © 2012–2014 Royal Botanic Gardens, Kew. All rights reserved.