common_helper/src/main/java/com/xiongyingqi/util/FileHelper.java
public static File readInputStream(InputStream inputStream) {
        String filePath = System.getProperty("java.io.tmpdir", "tmp/");
        filePath += System.currentTimeMillis() + StringUtil.randomString(8) + ".tmp";
        return readInputStream(inputStream, filePath);
    }
public static File readInputStream(InputStream inputStream) {
        String filePath = System.getProperty("java.io.tmpdir", "tmp/");
        filePath += System.currentTimeMillis() + StringUtil.randomString(8) + ".tmp";
        return readInputStream(inputStream, filePath);
    }
从流读取文件内容 <br>
2013-9-2 下午2:52:39

@param inputStream
@return