PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFileEx Class / save Method / save(Stream,PDFSecurityHandler,boolean) Method
Stream where the PDF file will be saved.
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(Stream,PDFSecurityHandler,boolean) Method
In This Topic
Saves the PDF file to given stream.
Syntax

    public void save(
       Stream output,
       PDFSecurityHandler securityHandler,
       boolean enableObjectCompression
    )

#### Parameters

output
  Stream where the PDF file will be saved.
securityHandler
  Security handler for encrypting the merged file.
enableObjectCompression
  True if the merged file should compress the PDF file structure.

See Also

#### Reference

PDFFileEx Class
PDFFileEx Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.