Modifier and Type | Method and Description |
---|---|
Optional<InputStreamSource> |
AttachmentTextExtractor.extract(Attachment attachment)
Extracts text from an attachment.
|
Optional<InputStreamSource> |
AttachmentExtractedTextManager.getContent(Attachment attachment)
Returns an
Optional describing the InputStreamSource of extracted text of the provided attachment
version if it is available, or an empty Optional otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
AttachmentExtractedTextManager.saveContent(Attachment attachment,
InputStreamSource content)
Saves a stream of data as the extracted text of the provided attachment version.
|
Modifier and Type | Method and Description |
---|---|
static InputStreamSource |
AttachmentExtractedTextHelper.toStreamSource(String input) |
Modifier and Type | Method and Description |
---|---|
Optional<InputStreamSource> |
DelegatingAttachmentTextExtractor.extract(Attachment attachment) |
Optional<InputStreamSource> |
DefaultAttachmentExtractedTextManager.getContent(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
static AttachmentTextExtraction |
DefaultAttachmentTextExtraction.of(InputStreamSource source,
boolean compressed) |
void |
DefaultAttachmentExtractedTextManager.saveContent(Attachment attachment,
InputStreamSource inputStreamSource) |
static Optional<String> |
AttachmentExtractedTextHelper.toString(InputStreamSource input) |
Modifier and Type | Method and Description |
---|---|
InputStreamSource |
DefaultDataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
SnappyDataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
ZipDataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
DefaultDataCompressor.uncompress(InputStreamSource compressed) |
InputStreamSource |
SnappyDataCompressor.uncompress(InputStreamSource compressed) |
InputStreamSource |
ZipDataCompressor.uncompress(InputStreamSource compressed) |
Modifier and Type | Method and Description |
---|---|
InputStreamSource |
DefaultDataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
SnappyDataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
ZipDataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
DefaultDataCompressor.uncompress(InputStreamSource compressed) |
InputStreamSource |
SnappyDataCompressor.uncompress(InputStreamSource compressed) |
InputStreamSource |
ZipDataCompressor.uncompress(InputStreamSource compressed) |
Modifier and Type | Method and Description |
---|---|
InputStreamSource |
DataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
DataCompressor.uncompress(InputStreamSource compressed) |
Modifier and Type | Method and Description |
---|---|
InputStreamSource |
DataCompressor.compress(InputStreamSource uncompressed) |
InputStreamSource |
DataCompressor.uncompress(InputStreamSource compressed) |
Copyright © 2003–2021 Atlassian. All rights reserved.