org.jboss.netty.util.internal
类 ConversionUtil

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

public class ConversionUtil
extends java.lang.Object

Conversion utility class to parse a property represented as a string or an object.


方法摘要
static boolean toBoolean(java.lang.Object value)
          Converts the specified object into a boolean.
static int toInt(java.lang.Object value)
          Converts the specified object into an integer.
static java.lang.String toString(int value)
           
static java.lang.String[] toStringArray(java.lang.Object value)
          Converts the specified object into an array of strings.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

toInt

public static int toInt(java.lang.Object value)
Converts the specified object into an integer.


toBoolean

public static boolean toBoolean(java.lang.Object value)
Converts the specified object into a boolean.


toStringArray

public static java.lang.String[] toStringArray(java.lang.Object value)
Converts the specified object into an array of strings.


toString

public static java.lang.String toString(int value)