public class Utility extends Object
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static String |
compress(StringBuffer sb)
remove leading and trailing whitespace from each line
|
static void |
replaceNonAsciiChars(StringBuffer sb,
char replacementChar)
Replaces any non-ascii characters with the specified char.
|
public static void replaceNonAsciiChars(StringBuffer sb, char replacementChar)
sb
- public static String compress(StringBuffer sb)
sb
- Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.