|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.marre.wap.WapMimeEncoder
Converts mime documents to a wsp encoded stream.
| Constructor Summary | |
WapMimeEncoder()
|
|
WapMimeEncoder(byte wspEncodingVersion)
|
|
| Method Summary | |
void |
writeBody(java.io.OutputStream theOs,
MimeBodyPart theMsg)
Writes the body of the message to the given stream. |
void |
writeContentType(java.io.OutputStream theOs,
MimeBodyPart theMsg)
Writes an WSP encoded content type header to the given stream. |
void |
writeHeaders(java.io.OutputStream theOs,
MimeBodyPart theMsg)
Writes the headers of the message to the given stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WapMimeEncoder()
public WapMimeEncoder(byte wspEncodingVersion)
| Method Detail |
public void writeContentType(java.io.OutputStream theOs,
MimeBodyPart theMsg)
throws java.io.IOException
NOTE! It only writes an WSP encoded content-type to the stream. It does not add the content type header id.
writeContentType in interface MimeEncodertheOs - The stream to write totheMsg - The message to get the content-type from
java.io.IOException - Thrown if we fail to write the content-type to the stream
public void writeHeaders(java.io.OutputStream theOs,
MimeBodyPart theMsg)
throws java.io.IOException
writeHeaders in interface MimeEncodertheOs - The stream to write totheMsg - The message to get the headers from
java.io.IOException - Thrown if we fail to write the headers to the stream
public void writeBody(java.io.OutputStream theOs,
MimeBodyPart theMsg)
throws java.io.IOException
writeBody in interface MimeEncodertheOs - The stream to write totheMsg - The message to get the data from
java.io.IOException - Thrown if we fail to write the body to the stream
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||