Interface AttachmentExtractedTextManager
- All Known Implementing Classes:
DefaultAttachmentExtractedTextManager
@Internal
public interface AttachmentExtractedTextManager
- Since:
- 6.5
-
Method Summary
Modifier and TypeMethodDescriptiongetContent
(Attachment attachment) Returns anOptional
describing theInputStreamSource
of extracted text of the provided attachment version if it is available, or an emptyOptional
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.
-
Method Details
-
getContent
Returns anOptional
describing theInputStreamSource
of extracted text of the provided attachment version if it is available, or an emptyOptional
otherwise. -
saveContent
Saves a stream of data as the extracted text of the provided attachment version. -
removePreviousVersionContent
Remove extracted text of the previous version of the specified attachment version if it exists. -
removeContent
Remove extracted text of the specified attachment version.
-