org.apache.james.mime4j.message
Interface BinaryBody

All Superinterfaces:
Body

public interface BinaryBody
extends Body

Interface implemented by bodies containing binary data.

Version:
$Id: BinaryBody.java,v 1.3 2004/10/02 12:41:11 ntherning Exp $

Method Summary
 java.io.InputStream getInputStream()
          Gets a InputStream which reads the bytes of the body.
 
Methods inherited from interface org.apache.james.mime4j.message.Body
getParent, setParent, writeTo
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Gets a InputStream which reads the bytes of the body.

Returns:
the stream, transfer decoded
Throws:
java.io.IOException - on I/O errors.


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.