public class WhiteSpaceUtil extends Object
Constructor and Description |
---|
WhiteSpaceUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
collapseConsecutiveSpaces(String s)
Collapse all consecutive spaces of the passed String into single spaces
|
static boolean |
isNonEmSpace(char ch)
Checks if a character is white space value that is not em, en or similar special whitespace character.
|
public static String collapseConsecutiveSpaces(String s)
s
- String to collapse
public static boolean isNonEmSpace(char ch)
ch
- the character
Copyright © 1998–2023 iText Group NV. All rights reserved.