Interface AttachmentExtractedTextManager
-
- All Known Implementing Classes:
DefaultAttachmentExtractedTextManager
@Internal public interface AttachmentExtractedTextManager- Since:
- 6.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<InputStreamSource>getContent(Attachment attachment)Returns anOptionaldescribing theInputStreamSourceof extracted text of the provided attachment version if it is available, or an emptyOptionalotherwise.voidremoveContent(Attachment attachment)Remove extracted text of the specified attachment version.voidremovePreviousVersionContent(Attachment attachment)Remove extracted text of the previous version of the specified attachment version if it exists.voidsaveContent(Attachment attachment, InputStreamSource content)Saves a stream of data as the extracted text of the provided attachment version.
-
-
-
Method Detail
-
getContent
Optional<InputStreamSource> getContent(Attachment attachment)
Returns anOptionaldescribing theInputStreamSourceof extracted text of the provided attachment version if it is available, or an emptyOptionalotherwise.
-
saveContent
void saveContent(Attachment attachment, InputStreamSource content)
Saves a stream of data as the extracted text of the provided attachment version.
-
removePreviousVersionContent
void removePreviousVersionContent(Attachment attachment)
Remove extracted text of the previous version of the specified attachment version if it exists.
-
removeContent
void removeContent(Attachment attachment)
Remove extracted text of the specified attachment version.
-
-