Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要从某个网站下载 .XLSX 文件并将其放在 Java 服务器上,然后使用 Java 代码读取该文件。但无法读取从互联网下载的 java 中的 .XLSX 文件,因为文件处于受保护的视图中?我正在使用 poi 4.1。
使用 OutputStream 制作 .xlsx 文件的副本,然后访问 .xlsx 文件的内容
如果 .xlsx 处于保护模式,您仍然可以通过 Apache poi 访问该文件。