public class FixCRLFOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
FixCRLFOutputStream(OutputStream out)Create a FixCRLFOutputStream wrapping the given output stream. |
| Modifier and Type | Method and Description |
|---|---|
void | write(int val)Write a single byte, converting LF to CRLF if needed. |
close, flush, write, writepublic FixCRLFOutputStream(OutputStream out)
out - the underlying output streampublic void write(int val)
throws IOExceptionwrite in class FilterOutputStreamval - the byte valueIOException - on I/O error