|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.alibaba.fastjson.util Class IOUtils
java.lang.Object com.alibaba.fastjson.util.IOUtils
public class IOUtils
- extends Object
- Author:
- wenshao
Constructor Summary | |
---|---|
IOUtils()
|
Method Summary | |
---|---|
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(long x)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
IOUtils
public IOUtils()
Method Detail |
---|
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)
decode
public static void decode(CharsetDecoder charsetDecoder, ByteBuffer byteBuf, CharBuffer charByte)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Alibaba Group. All Rights Reserved.