Interface Attachment

All Known Implementing Classes:
AbstractAttachment, AttachmentImpl, BinaryAttachment

public interface Attachment
  • Method Details Link icon

    • getId Link icon

      String getId()
    • isManualId Link icon

      boolean isManualId()
      Whether the id is set manually (`true`) or generated automatically (`false`).
    • getFileName Link icon

      @Nullable @Nullable String getFileName()
    • setFileName Link icon

      void setFileName(@Nullable @Nullable String fileName)
    • getEncodedFileName Link icon

      @Nullable @Nullable String getEncodedFileName()
    • getDescription Link icon

      String getDescription()
    • setDescription Link icon

      void setDescription(String description)
    • getMimeType Link icon

      jakarta.activation.MimeType getMimeType()
    • setMimeType Link icon

      void setMimeType(jakarta.activation.MimeType mimeType)
    • getContent Link icon

      byte[] getContent()
    • setContent Link icon

      void setContent(byte[] content)
    • loadContent Link icon

      void loadContent(InputStream input) throws IOException
      Throws:
      IOException
    • getDisposition Link icon

      Attachment.Disposition getDisposition()
    • setDisposition Link icon

      void setDisposition(Attachment.Disposition disposition)