util
Class ReplaceWhitespace
java.lang.Object
util.ReplaceWhitespace
public class ReplaceWhitespace
- extends Object
A class to replace whitespace chars using a look-up table and a default
replacement.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOOKUP
private static final Map LOOKUP
DEFWHSP
private static final String DEFWHSP
- See Also:
- Constant Field Values
ReplaceWhitespace
public ReplaceWhitespace()
remove
public static String remove(String in)
- Converts each char found in
LOOKUP into the appropriate
mapping. If a whitespace-char is found that is not in the table,
it is replaced with the DEFWHSP.