admin管理员组

文章数量:1130349

POI实现Excel文件加密

核心代码

/**
     * 
     * @param file Excel文件
     * @param os	HttpServletResponse.getOutputStream()
     * @param excelPassword 密码
     */
private void encryptExcel(File file, OutputStream os, String excelPassword) throws Exception {
   
   
        log.info("Excel加密码star************");

POI实现Excel文件加密

核心代码

/**
     * 
     * @param file Excel文件
     * @param os	HttpServletResponse.getOutputStream()
     * @param excelPassword 密码
     */
private void encryptExcel(File file, OutputStream os, String excelPassword) throws Exception {
   
   
        log.info("Excel加密码star************");

本文标签: 文件加密poiEXCEL