com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Interface IAttachment

  • All Known Implementing Classes:
    Attachment


    public interface IAttachment

    Represents a common attachment interface

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      String getName()
      Gets or sets an attachment name
      void save(OutputStream stream)
      Saves an attachment to stream
      void save(String fileName)
      Saves attachment to file
      void setName(String value)
      Gets or sets an attachment name
    • Method Detail

      • getName

        String getName()

        Gets or sets an attachment name

      • setName

        void setName(String value)

        Gets or sets an attachment name

      • save

        void save(String fileName)

        Saves attachment to file

        Parameters:
        fileName - A file name
      • save

        void save(OutputStream stream)

        Saves an attachment to stream

        Parameters:
        stream - A stream to save to