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 attachment
      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

        Returns:
        a String object.
      • setName

        void setName(String value)

        Gets or sets an attachment name

        Parameters:
        value - a String object.
      • save

        void save(String fileName)

        Saves attachment to file

        Parameters:
        fileName - a String object.