有没有办法将对象转换为(可能)org.apache.poi.xwpf.usermodel.XWPFDocument
的任何子类,而不必考虑从下面的层次结构中引用所述文档的对象。java.io.InputStream
java.io.FileInputStream
java.io.File
java.io.File => The path of the .docx file
java.io.FileInputStream => The InputStream to be used for JDBC
org.apache.poi.xwpf.usermodel.XWPFDocument => Retrieve elements in the document