* DataSource method to return an output stream. <p>
*
* This implementation throws the UnknownServiceException.
*/
public OutputStream getOutputStream() throws IOException {
throw new UnknownServiceException("Writing not supported");
}
/**
* Returns the content-type of this DataSource. <p>
*
* This implementation just invokes the <code>getContentType</code>
* method on the MimePart.
*/
public String getContentType() {
try {
return part.getContentType();
} catch (MessagingException mex) {
// would like to be able to reflect the exception to the
// application, but since we can't do that we return a