Class BodyPartData

  • All Implemented Interfaces:
    Serializable

    public class BodyPartData
    extends Object
    implements Serializable
    Class for storing informations and data for an mail-bodypart based on text
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • BodyPartData

        public BodyPartData​(String data,
                            String contentType)
    • Method Detail

      • getData

        public String getData()
        Returns:
        the data
      • setData

        public void setData​(String data)
        Parameters:
        data - the data to set
      • getContentType

        public String getContentType()
        Returns:
        the contentType
      • setContentType

        public void setContentType​(String contentType)
        Parameters:
        contentType - the contentType to set