public final class StringUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
stripControlCharacters(Object value)
Strip an Object of it's ISO control characters.
|
static String |
stripControlCharacters(String value)
Strip a String of it's ISO control characters.
|
public static final String NEWLINE
public static String stripControlCharacters(Object value)
value
- The Object that should be stripped. This objects toString method will
called and the result passed to stripControlCharacters(String)
.String
A new String instance with its hexadecimal control characters replaced
by a space. Or the unmodified String if it does not contain any ISO
control characters.public static String stripControlCharacters(String value)
value
- The String that should be stripped.String
A new String instance with its hexadecimal control characters replaced
by a space. Or the unmodified String if it does not contain any ISO
control characters.Copyright © 2008-2012 The Netty Project. All Rights Reserved.