| Package | Description |
|---|---|
| com.atlassian.confluence.index.attachment | |
| com.atlassian.confluence.internal.index.attachment |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<AttachmentTextExtraction> |
AttachmentTextExtractionService.submit(long attachmentId,
int version)
Submit a text extraction task for an attachment of the provided id and version.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAttachmentTextExtraction |
| Modifier and Type | Method and Description |
|---|---|
AttachmentTextExtraction |
AttachmentTextExtractionFunction.apply(Long attachmentId,
Integer version)
Returns empty
AttachmentTextExtraction if an attachment has been removed or has been updated into
a new version. |
static AttachmentTextExtraction |
DefaultAttachmentTextExtraction.empty() |
static AttachmentTextExtraction |
DefaultAttachmentTextExtraction.of(byte[] bytes,
boolean compressed) |
static AttachmentTextExtraction |
DefaultAttachmentTextExtraction.of(InputStreamSource source,
boolean compressed) |
static AttachmentTextExtraction |
DefaultAttachmentTextExtraction.of(String text,
boolean compressed) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<AttachmentTextExtraction> |
LocalAttachmentTextExtractionService.submit(long attachmentId,
int version) |
CompletionStage<AttachmentTextExtraction> |
RemoteAttachmentTextExtractionService.submit(long attachmentId,
int version) |
| Constructor and Description |
|---|
LocalAttachmentTextExtractionService(BiFunction<Long,Integer,AttachmentTextExtraction> textExtractionFunction) |
Copyright © 2003–2022 Atlassian. All rights reserved.