org.apache.james.mime4j.message
Class BinaryBody
java.lang.Object
org.apache.james.mime4j.message.SingleBody
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryBody
protected BinaryBody()
- Sole constructor.
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.
Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.