Interface AttachmentExtractedTextManager

All Known Implementing Classes:
DefaultAttachmentExtractedTextManager

@Internal public interface AttachmentExtractedTextManager
Since:
6.5
  • Method Details

    • getContent

      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.
    • 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.