public class XSSFImportFromXML
extends java.lang.Object
Constructor and Description |
---|
XSSFImportFromXML(XSSFMap map) |
Modifier and Type | Method and Description |
---|---|
void |
importFromXML(java.lang.String xmlInputString)
Imports an XML into the XLSX using the Custom XML mapping defined
(使用定义的自定义 XML 映射将 XML 导入 XLSX)
|
public XSSFImportFromXML(XSSFMap map)
public void importFromXML(java.lang.String xmlInputString) throws org.xml.sax.SAXException, javax.xml.xpath.XPathExpressionException, java.io.IOException
xmlInputString
- the XML to import
(xmlInputString - 要导入的 XML)
org.xml.sax.SAXException
- if error occurs during XML parsing
(org.xml.sax.SAXException - 如果在 XML 解析期间发生错误)
javax.xml.xpath.XPathExpressionException
- if error occurs during XML navigation
(javax.xml.xpath.XPathExpressionException - 如果在 XML 导航期间发生错误)
java.io.IOException
- if there are problems reading the input string
(java.io.IOException - 如果读取输入字符串有问题)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.