|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
gnu.mail.util.QPOutputStream
public class QPOutputStream
Quoted Printable Encoding stream.
FilterOutputStream
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
QPOutputStream(java.io.OutputStream stream)
Create a new Quoted Printable Encoding stream with the default 76 bytes per line. |
|
QPOutputStream(java.io.OutputStream stream,
int length)
Create a new Quoted Printable Encoding stream. |
Method Summary | |
---|---|
void |
close()
Close stream. |
void |
flush()
Flush encoding buffer. |
protected void |
output(int b,
boolean value)
???? |
void |
write(byte[] bytes)
Write bytes to stream. |
void |
write(byte[] bytes,
int offset,
int length)
Write bytes to encoding stream. |
void |
write(int b)
Write a byte to the stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QPOutputStream(java.io.OutputStream stream, int length)
stream
- Output streamlength
- Number of bytes per linepublic QPOutputStream(java.io.OutputStream stream)
stream
- Output streamMethod Detail |
---|
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.FilterOutputStream
java.io.IOException
- IO Exception occurredpublic void write(byte[] bytes, int offset, int length) throws java.io.IOException
write
in class java.io.FilterOutputStream
bytes
- Byte array to read values fromoffset
- Offset to start reading bytes fromlength
- Number of bytes to read
java.io.IOException
- IO Exception occurredpublic void write(byte[] bytes) throws java.io.IOException
write
in class java.io.FilterOutputStream
bytes
- Byte array to write to stream
java.io.IOException
- IO Exception occurredpublic void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
b
- Byte to write to the stream
java.io.IOException
- IO Exception occurredpublic void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.FilterOutputStream
java.io.IOException
- IO Exception occurredprotected void output(int b, boolean value) throws java.io.IOException
b
- ??value
- ??
java.io.IOException
- IO Exception occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |