public class DocUtil extends Object
Constructor and Description |
---|
DocUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.poi.xwpf.usermodel.XWPFDocument |
create(File file)
创建
XWPFDocument ,如果文件已存在则读取之,否则创建新的 |
public static org.apache.poi.xwpf.usermodel.XWPFDocument create(File file)
XWPFDocument
,如果文件已存在则读取之,否则创建新的file
- docx文件XWPFDocument
Copyright © 2024. All rights reserved.