Class AttachmentData

java.lang.Object
com.imc.iss.groovy.product.AttachmentData

public class AttachmentData extends Object
A class which represent the attachment and hold the information of an attachment
  • Method Details

    • getAttachmentUri

      public String getAttachmentUri()
      To get the attachement URI
      Returns:
      attachement URI as String
    • getFileContent

      public byte[] getFileContent() throws IOException
      To get the file content in byte
      Returns:
      The content of file in array of byte
      Throws:
      IOException
    • getFileName

      public String getFileName()
      To get the file name
      Returns:
      The name of the file as String.
    • getFileType

      public String getFileType()
      To get the file type
      Returns:
      The type of the file as String.