public class IOUtils
extends org.apache.commons.io.IOUtils
| 构造器和说明 |
|---|
IOUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
getString(java.io.InputStream is)
从
java.io.InputStream 中以系统默认的字符集读取出字符串 |
static java.lang.String |
getString(java.io.InputStream is,
java.lang.String charset)
从
java.io.InputStream 中以特定字符集读取出字符串 |
buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, close, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, contentEquals, contentEquals, contentEqualsIgnoreEOL, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, lineIterator, lineIterator, lineIterator, read, read, read, read, read, readFully, readFully, readFully, readFully, readFully, readFully, readLines, readLines, readLines, readLines, skip, skip, skip, skipFully, skipFully, skipFully, toBufferedInputStream, toBufferedInputStream, toBufferedReader, toBufferedReader, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toCharArray, toCharArray, toCharArray, toCharArray, toInputStream, toInputStream, toInputStream, toInputStream, toInputStream, toInputStream, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeChunked, writeChunked, writeLines, writeLines, writeLines, writeLinespublic static java.lang.String getString(java.io.InputStream is,
java.lang.String charset)
java.io.InputStream 中以特定字符集读取出字符串is - java.io.InputStream 对象charset - 特定字符集public static java.lang.String getString(java.io.InputStream is)
java.io.InputStream 中以系统默认的字符集读取出字符串is - java.io.InputStream 对象Copyright © 2018. All Rights Reserved.