Class DelegatingAttachmentTextExtractor
- java.lang.Object
-
- com.atlassian.confluence.internal.index.attachment.DelegatingAttachmentTextExtractor
-
@ParametersAreNonnullByDefault public class DelegatingAttachmentTextExtractor extends Object
The entry point for all attachment text extractors.- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description DelegatingAttachmentTextExtractor(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider, BiPredicate<AttachmentTextExtractor,Attachment> shouldExtractPredicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<InputStreamSource>
extract(Attachment attachment)
-
-
-
Constructor Detail
-
DelegatingAttachmentTextExtractor
public DelegatingAttachmentTextExtractor(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider, BiPredicate<AttachmentTextExtractor,Attachment> shouldExtractPredicate)
-
-
Method Detail
-
extract
public Optional<InputStreamSource> extract(Attachment attachment)
-
-