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
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description FixCRLFOutputStream(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(int val)
-
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
FixCRLFOutputStream
public FixCRLFOutputStream(OutputStream out)
-
-
Method Detail
-
write
public void write(int val) throws IOException
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
-