This commit is contained in:
Looly
2020-04-30 09:11:22 +08:00
parent 484d705638
commit ea96eecd4b
10 changed files with 241 additions and 35 deletions

View File

@@ -984,6 +984,19 @@ public class IoUtil {
}
}
/**
* 将多部分内容写到流中
*
* @param out 输出流
* @param isCloseOut 写入完毕是否关闭输出流
* @param obj 写入的对象内容
* @throws IORuntimeException IO异常
* @since 5.3.3
*/
public static void writeObj(OutputStream out, boolean isCloseOut, Serializable obj) throws IORuntimeException {
writeObjects(out, isCloseOut, obj);
}
/**
* 将多部分内容写到流中
*