public interface IAS4Attachment
| Modifier and Type | Method and Description |
|---|---|
default Charset |
getCharset() |
Charset |
getCharsetOrDefault(Charset aDefault) |
EAS4CompressionMode |
getCompressionMode() |
com.helger.mail.cte.EContentTransferEncoding |
getContentTransferEncoding() |
String |
getId() |
com.helger.commons.io.IHasInputStream |
getInputStreamProvider() |
String |
getMimeType() |
InputStream |
getSourceStream()
Get the source stream of the attachment using the default resource helper.
|
InputStream |
getSourceStream(AS4ResourceHelper aResourceHelper)
Get the source stream of the attachment using the provided resource helper.
|
String |
getUncompressedMimeType() |
boolean |
hasCharset() |
default boolean |
hasCompressionMode() |
default boolean |
isRepeatable() |
String getId()
String getMimeType()
@Nullable String getUncompressedMimeType()
null.@Nonnull InputStream getSourceStream()
null InputStream on the source.@Nonnull InputStream getSourceStream(@Nonnull AS4ResourceHelper aResourceHelper)
aResourceHelper - The resource helper to use. May not be null.null InputStream on the source.@Nullable com.helger.commons.io.IHasInputStream getInputStreamProvider()
default boolean isRepeatable()
@Nonnull com.helger.mail.cte.EContentTransferEncoding getContentTransferEncoding()
null.@Nullable EAS4CompressionMode getCompressionMode()
null if the attachment
is not compressed.default boolean hasCompressionMode()
boolean hasCharset()
Copyright © 2015–2020 Philip Helger. All rights reserved.