org.jboss.netty.util.internal
类 StringUtil

java.lang.Object
  继承者 org.jboss.netty.util.internal.StringUtil

public class StringUtil
extends java.lang.Object

String utility class.


字段摘要
static java.lang.String NEWLINE
           
 
方法摘要
static java.lang.String stripControlCharacters(java.lang.Object value)
          Strip an Object of it's ISO control characters.
static java.lang.String stripControlCharacters(java.lang.String value)
          Strip a String of it's ISO control characters.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

NEWLINE

public static final java.lang.String NEWLINE
方法详细信息

stripControlCharacters

public static java.lang.String stripControlCharacters(java.lang.Object value)
Strip an Object of it's ISO control characters.

参数:
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.

stripControlCharacters

public static java.lang.String stripControlCharacters(java.lang.String value)
Strip a String of it's ISO control characters.

参数:
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.