Apache JAMES Mime4j 0.6-redhat-2

org.apache.james.mime4j.message
Class BinaryBody

java.lang.Object
  extended by org.apache.james.mime4j.message.SingleBody
      extended by org.apache.james.mime4j.message.BinaryBody
All Implemented Interfaces:
Body, Disposable

public abstract class BinaryBody
extends SingleBody

A body containing binary data.


Constructor Summary
protected BinaryBody()
          Sole constructor.
 
Method Summary
abstract  InputStream getInputStream()
          Gets a InputStream which reads the bytes of the body.
 
Methods inherited from class org.apache.james.mime4j.message.SingleBody
copy, dispose, getParent, setParent, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryBody

protected BinaryBody()
Sole constructor.

Method Detail

getInputStream

public abstract InputStream getInputStream()
                                    throws IOException
Gets a InputStream which reads the bytes of the body.

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

Apache JAMES Mime4j 0.6-redhat-2

Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.