| java.lang.Object |
| ↳ |
java.io.OutputStream |
| |
↳ |
java.io.FilterOutputStream |
| |
|
↳ |
com.google.code.com.sun.mail.util.CRLFOutputStream |
Known Direct Subclasses
| SMTPOutputStream |
In addition to converting lines into the canonical format,
i.e., terminating lines with the CRLF sequence, escapes the "."
by adding another "." to any "." that appears in the beginning
of a line. |
|
Class Overview
Convert lines into the canonical format, that is, terminate lines with the
CRLF sequence.
Summary
| Fields |
|
protected
boolean |
atBOL |
|
|
protected
int |
lastb |
|
|
private
static
final
byte[] |
newline |
|
|
[Expand]
Inherited Fields |
From class
java.io.FilterOutputStream
|
protected
OutputStream |
out |
|
|
|
[Expand]
Inherited Methods |
From class
java.io.FilterOutputStream
|
void
|
close()
|
|
void
|
flush()
|
|
void
|
write(byte[] arg0, int arg1, int arg2)
|
|
void
|
write(byte[] arg0)
|
|
void
|
write(int arg0)
|
|
From class
java.io.OutputStream
|
void
|
close()
|
|
void
|
flush()
|
|
void
|
write(byte[] arg0, int arg1, int arg2)
|
|
void
|
write(byte[] arg0)
|
|
abstract
void
|
write(int arg0)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.io.Closeable
|
From interface
java.io.Flushable
|
Fields
private
static
final
byte[]
newline
Public Constructors
public
CRLFOutputStream
(OutputStream os)
Public Methods
public
void
write
(byte[] b, int off, int len)
public
void
write
(byte[] b)
public
void
write
(int b)