public class IOUtils extends Object
限定符和类型 | 字段和说明 |
---|---|
static int |
DEFAULT_BUFFER_SIZE |
构造器和说明 |
---|
IOUtils() |
限定符和类型 | 方法和说明 |
---|---|
static String |
getStackTrace(Throwable ex) |
static String |
read(InputStream in) |
static String |
read(Reader reader) |
static String |
read(Reader reader,
int length) |
static String |
readFromResource(String resource) |
static String |
toString(Date date) |
static String |
toString(StackTraceElement[] stackTrace) |
public static final int DEFAULT_BUFFER_SIZE
public static String read(InputStream in)
public static String readFromResource(String resource) throws IOException
IOException
public static String toString(StackTraceElement[] stackTrace)
Copyright © 2012 Alibaba Group. All Rights Reserved.