Package i2p.susi.util
Class FixCRLFOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
i2p.susi.util.FixCRLFOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class FixCRLFOutputStream extends FilterOutputStream
Replace plain \n with \r\n on the fly.
Used when importing .eml files.
- Since:
- 0.9.34
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FixCRLFOutputStream(OutputStream out)
-
Method Summary
Modifier and Type Method Description void
write(int val)
-
Constructor Details
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-