public interface AttachmentSizeProvider
AttachmentResolver
also implement AttachmentSizeProvider
.
Instances returned by RichTextUtils.createAttachmentResolver()
do implement this interface.RichTextUtils.createAttachmentResolver(java.io.File)
Modifier and Type | Method and Description |
---|---|
long |
getSize(Attachment attachment)
Returns the size of the logical attachment, i.e.
|
long getSize(Attachment attachment)
attachment
- the attachment for which for size is to determine.0
if the size is unknown.