cn.hutool.poi.word.WordUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hutool-all Show documentation
Show all versions of hutool-all Show documentation
Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。
package cn.hutool.poi.word;
import java.io.File;
/**
* Word工具类
*
* @author Looly
* @since 4.5.16
*/
public class WordUtil {
/**
* 创建Word 07格式的生成器
*
* @return {@link Word07Writer}
*/
public static Word07Writer getWriter() {
return new Word07Writer();
}
/**
* 创建Word 07格式的生成器
*
* @param destFile 目标文件
* @return {@link Word07Writer}
*/
public static Word07Writer getWriter(File destFile) {
return new Word07Writer(destFile);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy