Package com.imc.iss.groovy.salesitem
Class AttachmentData
java.lang.Object
com.imc.iss.groovy.salesitem.AttachmentData
A class which represent the attachment and hold the information of an
attachment
-
Method Summary
Modifier and TypeMethodDescriptionTo get the attachement URIbyte[]To get the file content in byteTo get the file nameTo get the file type
-
Method Details
-
getAttachmentUri
To get the attachement URI- Returns:
- attachement URI as String
-
getFileContent
To get the file content in byte- Returns:
- The content of file in array of byte
- Throws:
IOException
-
getFileName
To get the file name- Returns:
- The name of the file as String.
-
getFileType
To get the file type- Returns:
- The type of the file as String.
-