mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix name
This commit is contained in:
parent
ddae419a10
commit
eef88779cf
@ -57,12 +57,12 @@ public class FileAppender implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 构造
|
* 构造
|
||||||
*
|
*
|
||||||
* @param destFile 目标文件
|
* @param targetFile 目标文件
|
||||||
* @param capacity 当行数积累多少条时刷入到文件
|
* @param capacity 当行数积累多少条时刷入到文件
|
||||||
* @param isNewLineMode 追加内容是否为新行
|
* @param isNewLineMode 追加内容是否为新行
|
||||||
*/
|
*/
|
||||||
public FileAppender(final File destFile, final int capacity, final boolean isNewLineMode) {
|
public FileAppender(final File targetFile, final int capacity, final boolean isNewLineMode) {
|
||||||
this(destFile, CharsetUtil.UTF_8, capacity, isNewLineMode);
|
this(targetFile, CharsetUtil.UTF_8, capacity, isNewLineMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -322,7 +322,7 @@ public class FileWriter extends FileWrapper {
|
|||||||
* 此方法会自动关闭输入流
|
* 此方法会自动关闭输入流
|
||||||
*
|
*
|
||||||
* @param in 输入流,不关闭
|
* @param in 输入流,不关闭
|
||||||
* @return dest
|
* @return file
|
||||||
* @throws IORuntimeException IO异常
|
* @throws IORuntimeException IO异常
|
||||||
*/
|
*/
|
||||||
public File writeFromStream(final InputStream in) throws IORuntimeException {
|
public File writeFromStream(final InputStream in) throws IORuntimeException {
|
||||||
@ -334,7 +334,7 @@ public class FileWriter extends FileWrapper {
|
|||||||
*
|
*
|
||||||
* @param in 输入流,不关闭
|
* @param in 输入流,不关闭
|
||||||
* @param isCloseIn 是否关闭输入流
|
* @param isCloseIn 是否关闭输入流
|
||||||
* @return dest
|
* @return file
|
||||||
* @throws IORuntimeException IO异常
|
* @throws IORuntimeException IO异常
|
||||||
* @since 5.5.2
|
* @since 5.5.2
|
||||||
*/
|
*/
|
||||||
|
@ -265,7 +265,7 @@ public class PathUtil {
|
|||||||
* @since 5.8.27
|
* @since 5.8.27
|
||||||
*/
|
*/
|
||||||
public static Path copy(final InputStream src, final Path target, final CopyOption... options) throws IORuntimeException {
|
public static Path copy(final InputStream src, final Path target, final CopyOption... options) throws IORuntimeException {
|
||||||
Assert.notNull(target, "Target File or directory is null !");
|
Assert.notNull(target, "Targetw File or directory is null !");
|
||||||
|
|
||||||
// 创建级联父目录
|
// 创建级联父目录
|
||||||
mkParentDirs(target);
|
mkParentDirs(target);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user