public class DiscardBodyFactory
extends java.lang.Object
implements org.apache.james.mime4j.message.BodyFactory
Modifier and Type | Class and Description |
---|---|
static interface |
DiscardBodyFactory.IHasSize |
Constructor and Description |
---|
DiscardBodyFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.james.mime4j.dom.BinaryBody |
binaryBody(java.io.InputStream is) |
org.apache.james.mime4j.dom.TextBody |
textBody(java.io.InputStream is,
java.lang.String mimeCharset) |
public org.apache.james.mime4j.dom.BinaryBody binaryBody(java.io.InputStream is) throws java.io.IOException
binaryBody
in interface org.apache.james.mime4j.message.BodyFactory
java.io.IOException
public org.apache.james.mime4j.dom.TextBody textBody(java.io.InputStream is, java.lang.String mimeCharset) throws java.io.IOException
textBody
in interface org.apache.james.mime4j.message.BodyFactory
java.io.IOException
Copyright © 2021. All Rights Reserved.