把流转化为字符串String类型的工具类

/**  * 把流转化为字符串String类型的工具类  *   * @author xiaoke  *   */ public class StreamUtil { public static String stream2String(InputStream is) throws IOException { if (is != null) { // ByteArrayOutputStream好处
相关文章
相关标签/搜索