Class CRLFGeneratorStream
java.lang.Object
java.io.OutputStream
org.pgpainless.encryption_signing.CRLFGeneratorStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
OutputStream
which applies CR-LF encoding of its input data, based on the desired StreamEncoding
.
This implementation originates from the Bouncy Castle library.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Field Details
-
crlfOut
-
-
Constructor Details
-
CRLFGeneratorStream
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-