This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.util
class CRLFOutputStream

com.sun.mail.util.CRLFOutputStream
Direct Known Subclasses:
SMTPOutputStream

public class CRLFOutputStream
extends FilterOutputStream

Convert lines into the canonical format, that is, terminate lines with the CRLF sequence.


Field Summary
protected boolean atBOL
          
protected int lastb
          
 
Constructor Summary

          
 
Method Summary
 void
write(byte[] b)

          
 void
write(byte[] b, int off, int len)

          
 void
write(int b)

          
 void

          
 

Field Detail

atBOL

protected boolean atBOL

lastb

protected int lastb
Constructor Detail

CRLFOutputStream

public CRLFOutputStream(OutputStream os)
Parameters:
os
Method Detail

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class FilterOutputStream
Parameters:
b
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterOutputStream
Parameters:
b
off
len
Throws:
IOException

write

public void write(int b)
           throws IOException
Overrides:
write in class FilterOutputStream
Parameters:
b
Throws:
IOException

writeln

public void writeln()
             throws IOException
Throws:
IOException


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.