Java操作pdf添加附件

package pdf;
import java.io.FileOutputStream;
import java.io.IOException;
import com.itextpdf.text.*
import com.itextpdf.text.pdf.PdfReader;
import com.itextpdf.text.pdf.PdfStamper;

public class CreatePdf {
  public static void main(String[] args) throws DocumentException,IOException{
  String in = args[0];
  String out =args[1];
  int n = args.length - 2;
  String[] arr = new String[n];
  for(int i =2;i

你可能感兴趣的:(Java操作pdf添加附件)