PDF4Java Reference Documentation
com.o2sol.pdf4java.utilities Package / PDFMerger Class / save Method / save(String,PDFSecurityHandler,boolean) Method
Path to file where to save the merged file.
Security handler for encrypting the merged file.
True if the merged file should compress the PDF file structure.
Collapse All Expand All
In This Topic

save(String,PDFSecurityHandler,boolean) Method
In This Topic
Saves the merged file to given file.
Syntax

    public void save(
       java.lang.String fileName,
       PDFSecurityHandler securityHandler,
       boolean enableObjectCompression
    )

#### Parameters

fileName
  Path to file where to save the merged file.
securityHandler
  Security handler for encrypting the merged file.
enableObjectCompression
  True if the merged file should compress the PDF file structure.

See Also

#### Reference

PDFMerger Class
PDFMerger Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.