Class Base64OutputStream.ExtraCrlfOutputStream
java.lang.Object
java.io.OutputStream
org.apache.james.mime4j.codec.Base64OutputStream.ExtraCrlfOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
Base64OutputStream
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateExtraCrlfOutputStream(OutputStream delegate, byte[] lineSeparator) -
Method Summary
-
Field Details
-
delegate
-
lineSeparator
private final byte[] lineSeparator -
appendExtraCrlf
private boolean appendExtraCrlf
-
-
Constructor Details
-
ExtraCrlfOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-