- 
 public interface LineOutputStreamThis interface is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence. The String must contain only US-ASCII characters.
 The expected use is to write out RFC822 style headers to an output stream.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(byte[] content)Writesb.lengthbytes to this output stream.voidwriteln()Writes a new line (CRLF).voidwriteln(java.lang.String s)Writes the input string and a new line (CRLF).
 
- 
- 
- 
Method Detail- 
writelnvoid writeln(java.lang.String s) throws java.io.IOExceptionWrites the input string and a new line (CRLF).- Parameters:
- s- the string to write before the new line.
- Throws:
- java.io.IOException- if an I/O error occurs.
 
 - 
writelnvoid writeln() throws java.io.IOExceptionWrites a new line (CRLF).- Throws:
- java.io.IOException- if an I/O error occurs.
 
 - 
writevoid write(byte[] content) throws java.io.IOExceptionWritesb.lengthbytes to this output stream.- Parameters:
- content- the content to write.
- Throws:
- java.io.IOException- if an I/O error occurs.
 
 
- 
 
-