public interface String_To_NoHorWs extends IsTransformer<String,String>
Converts a string to a string without excessive horizontal whitespace character. Excessive horizontal white spaces are consecutive spaces and tabulators.
| Modifier and Type | Method and Description |
|---|---|
static String |
convert(String s)
Returns a string with all excessive horizontal white spaces removed.
|
static String_To_NoHorWs |
create()
Creates a transformer that takes a String and returns a String without excessive horizontal whitespace characters.
|
default String |
transform(String s)
Transforms a String to a String removing all excessive horizontal whitespace characters.
|
apply, transformdefault String transform(String s)
Transforms a String to a String removing all excessive horizontal whitespace characters.
transform in interface Transformer<String,String>s - input stringnull if input was nullstatic String_To_NoHorWs create()
Creates a transformer that takes a String and returns a String without excessive horizontal whitespace characters.
Copyright © 2016–2017. All rights reserved.