> >     void displayMessage(Message m) {
> >     	printString(m.getSubject());
> >     	printAddress(m.getFrom());
> >     	displayPart(m);
> >     }

> >     void displayPart(Part p) {
> >     	printString(p.getContentType());

> >     	if (p.isMimeType("multipart/*")) {
> >     		Multipart mp = p.getContent();
> >     		for (int i = 0; i < mp.getCount(); i++)
> >     			displayPart(mp.getBodyPart(i));
> >     	} else {
> >     		InputStream is = p.getInputStream();
> >     		printStream(is);
> >     	}
> >     }