@Internal
public interface AttachmentExtractedTextManager
Modifier and Type | Method and Description |
---|---|
Optional<InputStreamSource> |
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. |
void |
removeContent(Attachment attachment)
Remove extracted text of the specified attachment version.
|
void |
removePreviousVersionContent(Attachment attachment)
Remove extracted text of the previous version of the specified attachment version if it exists.
|
void |
saveContent(Attachment attachment,
InputStreamSource content)
Saves a stream of data as the extracted text of the provided attachment version.
|
Optional<InputStreamSource> getContent(Attachment attachment)
Optional
describing the InputStreamSource
of extracted text of the provided attachment
version if it is available, or an empty Optional
otherwise.void saveContent(Attachment attachment, InputStreamSource content)
void removePreviousVersionContent(Attachment attachment)
void removeContent(Attachment attachment)
Copyright © 2003–2017 Atlassian. All rights reserved.