com.jdroid.java.http.apache.post
Class ByteArrayInputStreamBody
java.lang.Object
org.apache.james.mime4j.message.SingleBody
org.apache.http.entity.mime.content.AbstractContentBody
org.apache.http.entity.mime.content.InputStreamBody
com.jdroid.java.http.apache.post.ByteArrayInputStreamBody
- All Implemented Interfaces:
- org.apache.http.entity.mime.content.ContentBody, org.apache.james.mime4j.descriptor.ContentDescriptor, org.apache.james.mime4j.message.Body, org.apache.james.mime4j.message.Disposable
public class ByteArrayInputStreamBody
- extends org.apache.http.entity.mime.content.InputStreamBody
| Methods inherited from class org.apache.http.entity.mime.content.InputStreamBody |
getCharset, getFilename, getInputStream, getTransferEncoding, writeTo |
| Methods inherited from class org.apache.http.entity.mime.content.AbstractContentBody |
dispose, getContentTypeParameters, getMediaType, getMimeType, getParent, getSubType, setParent |
| Methods inherited from class org.apache.james.mime4j.message.SingleBody |
copy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayInputStreamBody
public ByteArrayInputStreamBody(ByteArrayInputStream in,
String mimeType,
String filename)
writeTo
public void writeTo(OutputStream out)
throws IOException
- Overrides:
writeTo in class org.apache.http.entity.mime.content.InputStreamBody
- Throws:
IOException- See Also:
InputStreamBody.writeTo(java.io.OutputStream)
getContentLength
public long getContentLength()
- Specified by:
getContentLength in interface org.apache.james.mime4j.descriptor.ContentDescriptor- Overrides:
getContentLength in class org.apache.http.entity.mime.content.InputStreamBody
- See Also:
InputStreamBody.getContentLength()
Copyright © 2014. All rights reserved.