|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbadpenguin.dkim.MailMessage
public class MailMessage
This simple class reads in a raw email message streams and stores the headers and body in separate ByteArrayOutputStream variables for processing by the other DKIM objects.
| Constructor Summary | |
|---|---|
MailMessage()
Default constructor. |
|
| Method Summary | |
|---|---|
int |
dkimHeaderCount()
Return the number of DKIM Signatures found in this mail message |
int |
domkeyHeaderCount()
Return the number of DomainKey Signatures found in this mail message |
java.io.ByteArrayOutputStream |
getBody()
Return the body data which was stored during the last processMail() invocation. |
java.io.ByteArrayOutputStream |
getHeaders()
Return the headers which were stored during the last processMail() invocation. |
void |
processMail(java.io.InputStream msg)
This method performs most of the input processing of the raw mail messages. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailMessage()
| Method Detail |
|---|
public void processMail(java.io.InputStream msg)
msg - - The raw email message as an InputStreampublic java.io.ByteArrayOutputStream getHeaders()
public java.io.ByteArrayOutputStream getBody()
public int dkimHeaderCount()
public int domkeyHeaderCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||