@ParametersAreNonnullByDefault public class DelegatingAttachmentTextExtractor extends Object
Constructor and Description |
---|
DelegatingAttachmentTextExtractor(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider,
BiPredicate<AttachmentTextExtractor,Attachment> shouldExtractPredicate) |
Modifier and Type | Method and Description |
---|---|
Optional<InputStreamSource> |
extract(Attachment attachment) |
public DelegatingAttachmentTextExtractor(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider, BiPredicate<AttachmentTextExtractor,Attachment> shouldExtractPredicate)
public Optional<InputStreamSource> extract(Attachment attachment)
Copyright © 2003–2017 Atlassian. All rights reserved.