Package org.apache.fop.pdf
Class PDFEncryptionJCE.EncryptionFilter
- java.lang.Object
-
- org.apache.fop.pdf.PDFFilter
-
- org.apache.fop.pdf.PDFEncryptionJCE.EncryptionFilter
-
- Enclosing class:
- PDFEncryptionJCE
private class PDFEncryptionJCE.EncryptionFilter extends PDFFilter
-
-
Field Summary
Fields Modifier and Type Field Description private int
streamGeneration
private PDFObjectNumber
streamNumber
-
Constructor Summary
Constructors Constructor Description EncryptionFilter(PDFObjectNumber streamNumber, int streamGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.OutputStream
applyFilter(java.io.OutputStream out)
Applies a filter to an OutputStream.PDFObject
getDecodeParms()
Returns a parameter dictionary for this filter.java.lang.String
getName()
Returns a PDF string representation of this filter.-
Methods inherited from class org.apache.fop.pdf.PDFFilter
isApplied, isASCIIFilter, setApplied
-
-
-
-
Field Detail
-
streamNumber
private PDFObjectNumber streamNumber
-
streamGeneration
private int streamGeneration
-
-
Constructor Detail
-
EncryptionFilter
EncryptionFilter(PDFObjectNumber streamNumber, int streamGeneration)
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns a PDF string representation of this filter.
-
getDecodeParms
public PDFObject getDecodeParms()
Returns a parameter dictionary for this filter.- Specified by:
getDecodeParms
in classPDFFilter
- Returns:
- null, this filter has no parameters
-
applyFilter
public java.io.OutputStream applyFilter(java.io.OutputStream out) throws java.io.IOException
Applies a filter to an OutputStream.- Specified by:
applyFilter
in classPDFFilter
- Parameters:
out
- contents to be filtered- Returns:
- OutputStream filtered contents
- Throws:
java.io.IOException
- In case of an I/O problem
-
-