|
@@ -1,7 +1,6 @@
|
|
|
package com.ydtech.modules.order.entity.api.pingan.utils;
|
|
package com.ydtech.modules.order.entity.api.pingan.utils;
|
|
|
|
|
|
|
|
import org.apache.pdfbox.pdmodel.PDDocument;
|
|
import org.apache.pdfbox.pdmodel.PDDocument;
|
|
|
-import sun.misc.BASE64Encoder;
|
|
|
|
|
|
|
|
|
|
import java.io.*;
|
|
import java.io.*;
|
|
|
/**
|
|
/**
|
|
@@ -87,7 +86,6 @@ public class PDFUtil {
|
|
|
BufferedInputStream bin =null;
|
|
BufferedInputStream bin =null;
|
|
|
ByteArrayOutputStream baos = null;
|
|
ByteArrayOutputStream baos = null;
|
|
|
BufferedOutputStream bout =null;
|
|
BufferedOutputStream bout =null;
|
|
|
- BASE64Encoder encoder = new BASE64Encoder();
|
|
|
|
|
File encriptPath = new File(filePath);
|
|
File encriptPath = new File(filePath);
|
|
|
try {
|
|
try {
|
|
|
//建立读取文件的文件输出流
|
|
//建立读取文件的文件输出流
|