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 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 Detail
-
getContent
Optional<InputStreamSource> getContent(Attachment attachment)
Returns anOptional
describing theInputStreamSource
of extracted text of the provided attachment version if it is available, or an emptyOptional
otherwise.
-
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.
-
-