com.alibaba.fastjson.util
类 IOUtils

java.lang.Object
  继承者 com.alibaba.fastjson.util.IOUtils

public class IOUtils
extends Object

作者:
wenshao

构造方法摘要
IOUtils()
           
 
方法摘要
static void close(Closeable x)
           
static void decode(CharsetDecoder charsetDecoder, ByteBuffer byteBuf, CharBuffer charByte)
           
static void getChars(byte b, int index, char[] buf)
           
static void getChars(int i, int index, char[] buf)
          Places characters representing the integer i into the character array buf.
static void getChars(long i, int index, char[] buf)
           
static int stringSize(int x)
           
static int stringSize(long x)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

IOUtils

public IOUtils()
方法详细信息

close

public static void close(Closeable x)

stringSize

public static int stringSize(long x)

getChars

public static void getChars(long i,
                            int index,
                            char[] buf)

getChars

public static void getChars(int i,
                            int index,
                            char[] buf)
Places characters representing the integer i into the character array buf. The characters are placed into the buffer backwards starting with the least significant digit at the specified index (exclusive), and working backwards from there. Will fail if i == Integer.MIN_VALUE


getChars

public static void getChars(byte b,
                            int index,
                            char[] buf)

stringSize

public static int stringSize(int x)

decode

public static void decode(CharsetDecoder charsetDecoder,
                          ByteBuffer byteBuf,
                          CharBuffer charByte)


Copyright © 2012-2014 Alibaba Group. All Rights Reserved.