Class PdfEncryptionStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfEncryptionStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class PdfEncryptionStream extends FilterOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected PdfEncryptionenc-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description PdfEncryptionStream(OutputStream out, PdfEncryption enc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(byte[] b, int off, int len)voidwrite(int b)-
Methods inherited from class java.io.FilterOutputStream
write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Field Detail
-
enc
protected PdfEncryption enc
-
-
Constructor Detail
-
PdfEncryptionStream
public PdfEncryptionStream(OutputStream out, PdfEncryption enc)
-
-
Method Detail
-
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
write
public void write(int b) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-
-